protected class Throttler.ThrottlingGroups
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Throttler.ThrottlingGroup> |
groups
The pool of individual throttle group services for this pool, keyed by throttle group name
|
protected java.lang.String |
throttlingGroupTypeName
The throttling group type for this throttling group pool
|
Constructor and Description |
---|
ThrottlingGroups(java.lang.String throttlingGroupTypeName) |
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdateThrottleGroup(IThreadContext threadContext,
java.lang.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,
java.lang.String throttleGroup,
java.lang.String[] binNames)
Obtain connection throttler.
|
void |
poll(IThreadContext threadContext)
Poll this set of throttle groups.
|
void |
removeThrottleGroup(IThreadContext threadContext,
java.lang.String throttleGroup)
Remove specified throttle group
|
protected final java.lang.String throttlingGroupTypeName
protected final java.util.Map<java.lang.String,Throttler.ThrottlingGroup> groups
public ThrottlingGroups(java.lang.String throttlingGroupTypeName)
public void createOrUpdateThrottleGroup(IThreadContext threadContext, java.lang.String throttleGroup, IThrottleSpec throttleSpec) throws ManifoldCFException
ManifoldCFException
public IConnectionThrottler obtainConnectionThrottler(IThreadContext threadContext, java.lang.String throttleGroup, java.lang.String[] binNames) throws ManifoldCFException
ManifoldCFException
public void removeThrottleGroup(IThreadContext threadContext, java.lang.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