|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TraditionalWorkQueueCfg
A server-side interface for querying Traditional Work Queue settings.
The Traditional Work Queue is a type of work queue that uses a number of worker threads that watch a queue and pick up an operation to process whenever one becomes available.
Method Summary | |
---|---|
void |
addTraditionalChangeListener(ConfigurationChangeListener<TraditionalWorkQueueCfg> listener)
Register to be notified when this Traditional Work Queue is changed. |
java.lang.Class<? extends TraditionalWorkQueueCfg> |
configurationClass()
Gets the configuration class associated with this Traditional Work Queue. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.lang.Integer |
getMaxWorkQueueCapacity()
Gets the "max-work-queue-capacity" property. |
int |
getNumWorkerThreads()
Gets the "num-worker-threads" property. |
void |
removeTraditionalChangeListener(ConfigurationChangeListener<TraditionalWorkQueueCfg> listener)
Deregister an existing Traditional Work Queue configuration change listener. |
Methods inherited from interface org.opends.server.admin.std.server.WorkQueueCfg |
---|
addChangeListener, removeChangeListener |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends TraditionalWorkQueueCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface WorkQueueCfg
void addTraditionalChangeListener(ConfigurationChangeListener<TraditionalWorkQueueCfg> listener)
listener
- The Traditional Work Queue configuration change listener.void removeTraditionalChangeListener(ConfigurationChangeListener<TraditionalWorkQueueCfg> listener)
listener
- The Traditional Work Queue configuration change listener.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Traditional Work Queue implementation.
getJavaClass
in interface WorkQueueCfg
java.lang.Integer getMaxWorkQueueCapacity()
Specifies the maximum number of queued operations that can be in the work queue at any given time.
If the work queue is already full and additional requests are received by the server, the requests are rejected. A value of zero indicates that there is no limit to the size of the queue.
int getNumWorkerThreads()
Specifies the number of worker threads to be used for processing operations placed in the queue.
If the value is increased, the additional worker threads are created immediately. If the value is reduced, the appropriate number of threads are destroyed as operations complete processing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |