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.
The Parallel Work Queue component inherits from the Work Queue
A description of each property follows.
Basic Properties: | Advanced Properties: |
---|---|
↓ num-worker-threads | ↓ java-class |
Description | 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. |
---|---|
Default Value | Let the server decide. |
Allowed Values | An integer value. Lower value is 1. Upper value is 2147483647 . |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | Specifies the fully-qualified name of the Java class that provides the Parallel Work Queue implementation. |
---|---|
Default Value | org.opends.server.extensions.ParallelWorkQueue |
Allowed Values | A java class that implements or extends the class(es) : org.opends.server.api.WorkQueue |
Multi-valued | No |
Required | Yes |
Admin Action Required | Restart the server |
Advanced Property | Yes |
Read-only | No |