public interface ParallelWorkQueueCfgClient extends WorkQueueCfgClient
The Parallel 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.
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectDefinition<? extends ParallelWorkQueueCfgClient,? extends ParallelWorkQueueCfg> |
definition()
Get the configuration definition associated with this Parallel Work Queue.
|
String |
getJavaClass()
Gets the "java-class" property.
|
Integer |
getNumWorkerThreads()
Gets the "num-worker-threads" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setNumWorkerThreads(Integer value)
Sets the "num-worker-threads" property.
|
commit, propertiesManagedObjectDefinition<? extends ParallelWorkQueueCfgClient,? extends ParallelWorkQueueCfg> definition()
definition in interface ConfigurationClientdefinition in interface WorkQueueCfgClientString getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Parallel Work Queue implementation.
getJavaClass in interface WorkQueueCfgClientvoid setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the Parallel Work Queue implementation.
setJavaClass in interface WorkQueueCfgClientvalue - The value of the "java-class" property.PropertyException - If the new value is invalid.Integer 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.
void setNumWorkerThreads(Integer value) throws PropertyException
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.
value - The value of the "num-worker-threads" property.PropertyException - If the new value is invalid.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.