public interface IThrottleGroups
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_rcsid |
| Modifier and Type | Method and Description |
|---|---|
void |
createOrUpdateThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
Create or update a throttle group.
|
void |
destroy()
Shut down throttler permanently.
|
void |
freeUnusedResources()
Free all unused resources.
|
java.util.Set<java.lang.String> |
getThrottleGroups(java.lang.String throttleGroupType)
Get all existing throttle groups for a throttle group type.
|
IConnectionThrottler |
obtainConnectionThrottler(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Construct connection throttler for connections with specific bin names.
|
void |
poll()
Poll periodically, to update ALL cluster-wide statistics and allocation.
|
void |
poll(java.lang.String throttleGroupType)
Poll periodically, to update cluster-wide statistics and allocation.
|
void |
removeThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup)
Remove a throttle group.
|
static final java.lang.String _rcsid
java.util.Set<java.lang.String> getThrottleGroups(java.lang.String throttleGroupType)
throws ManifoldCFException
throttleGroupType - is the throttle group type.ManifoldCFExceptionvoid removeThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup)
throws ManifoldCFException
throttleGroupType - is the throttle group type.throttleGroup - is the throttle group.ManifoldCFExceptionvoid createOrUpdateThrottleGroup(java.lang.String throttleGroupType,
java.lang.String throttleGroup,
IThrottleSpec throttleSpec)
throws ManifoldCFException
throttleGroupType - is the throttle group type.throttleGroup - is the throttle group.throttleSpec - is the desired throttle specification object.ManifoldCFExceptionIConnectionThrottler obtainConnectionThrottler(java.lang.String throttleGroupType, java.lang.String throttleGroup, java.lang.String[] binNames) throws ManifoldCFException
throttleGroupType - is the throttle group type.throttleGroup - is the throttle group.binNames - are the connection type bin names.ManifoldCFExceptionvoid poll(java.lang.String throttleGroupType) throws ManifoldCFException
throttleGroupType - is the throttle group type to update.ManifoldCFExceptionvoid poll() throws ManifoldCFException
ManifoldCFExceptionvoid freeUnusedResources()
throws ManifoldCFException
ManifoldCFExceptionvoid destroy()
throws ManifoldCFException
ManifoldCFException