Parallel Work Queue

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.

The parallel work queue is a FIFO queue serviced by a fixed number of worker threads. This fixed number of threads can be changed on the fly, with the change taking effect as soon as it is made. This work queue implementation is unbound ie it does not block after reaching certain queue size and as such should only be used on a very well tuned server configuration to avoid potential out of memory errors.

Parent

The Parallel Work Queue object inherits from Work Queue.

Properties

Use the --advanced option to access advanced properties.

Basic Properties

Advanced Properties

Basic Properties

num-worker-threads

SynopsisSpecifies the number of worker threads to be used for processing operations placed in the queue.
DescriptionIf 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.
Default ValueLet the server decide.
Allowed ValuesAn integer. Lower limit: 1. Upper limit: 2147483647.
Multi-valuedNo
RequiredNo
Admin Action RequiredNone
AdvancedNo
Read-OnlyNo

Advanced Properties

java-class

SynopsisSpecifies the fully-qualified name of the Java class that provides the Parallel Work Queue implementation.
Default Valueorg.opends.server.extensions.ParallelWorkQueue
Allowed ValuesA Java class that extends or implements:
org.opends.server.api.WorkQueue
Multi-valuedNo
RequiredYes
Admin Action RequiredRestart the server for changes to take effect.
AdvancedYes
Read-OnlyNo