Modifier and Type | Field and Description |
---|---|
protected Map<String,Throttler.ThrottlingGroup> |
groups
The pool of individual throttle group services for this pool, keyed by throttle group name
|
protected String |
throttlingGroupTypeName
The throttling group type for this throttling group pool
|
Constructor and Description |
---|
Throttler.ThrottlingGroups(String throttlingGroupTypeName) |
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdateThrottleGroup(IThreadContext threadContext,
String throttleGroup,
IThrottleSpec throttleSpec)
Update throttle specification
|
void |
destroy(IThreadContext threadContext)
Destroy and shutdown all
|
void |
freeUnusedResources(IThreadContext threadContext)
Free unused resources
|
IConnectionThrottler |
obtainConnectionThrottler(IThreadContext threadContext,
String throttleGroup,
String[] binNames)
Obtain connection throttler.
|
void |
poll(IThreadContext threadContext)
Poll this set of throttle groups.
|
void |
removeThrottleGroup(IThreadContext threadContext,
String throttleGroup)
Remove specified throttle group
|
protected final String throttlingGroupTypeName
protected final Map<String,Throttler.ThrottlingGroup> groups
public Throttler.ThrottlingGroups(String throttlingGroupTypeName)
public void createOrUpdateThrottleGroup(IThreadContext threadContext, String throttleGroup, IThrottleSpec throttleSpec) throws ManifoldCFException
ManifoldCFException
public IConnectionThrottler obtainConnectionThrottler(IThreadContext threadContext, String throttleGroup, String[] binNames) throws ManifoldCFException
ManifoldCFException
public void removeThrottleGroup(IThreadContext threadContext, String throttleGroup) throws ManifoldCFException
ManifoldCFException
public void poll(IThreadContext threadContext) throws ManifoldCFException
ManifoldCFException
public void freeUnusedResources(IThreadContext threadContext) throws ManifoldCFException
ManifoldCFException
public void destroy(IThreadContext threadContext) throws ManifoldCFException
ManifoldCFException