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