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

The Traditional Work Queue object inherits from Work Queue.

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 Value

Let the server decide.

Allowed Values

An integer.

Lower limit: 1.

Upper limit: 2147483647.

Multi-valued

No

Required

No

Admin Action Required

None

Advanced

No

Read-Only

No

Advanced Properties

Use the --advanced option to access advanced properties.

java-class

SynopsisSpecifies 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 extends or implements:

  • org.opends.server.api.WorkQueue

Multi-valued

No

Required

Yes

Admin Action Required

Restart the server for changes to take effect.

Advanced

Yes

Read-Only

No

Read a different version of :