Configuration Reference Home
OpenDJ Server - Traditional Work Queue

Traditional Work Queue

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.

The traditional 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. You can limit the size of the work queue to a specified number of operations. When this many operations are in the queue, waiting to be picked up by threads, any new requests are rejected with an error message.

Parent Component

The Traditional Work Queue component inherits from the Work Queue

Properties

A description of each property follows.


Basic Properties: Advanced Properties:
↓ max-work-queue-capacity ↓ java-class
↓ num-worker-threads

Basic Properties

max-work-queue-capacity

Description
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, then the server front end, and possibly the client, will be blocked until the work queue has available capacity.
Default Value
1000
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

num-worker-threads

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


Advanced Properties

java-class

Description
Specifies the fully-qualified name of the Java class that provides the Traditional Work Queue implementation.
Default Value
org.opends.server.extensions.TraditionalWorkQueue
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