Class TraditionalWorkQueueCfgDefn


  • public final class TraditionalWorkQueueCfgDefn
    extends ManagedObjectDefinition<TraditionalWorkQueueCfgClient,​TraditionalWorkQueueCfg>
    An interface for querying the Traditional Work Queue managed object definition meta information.

    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.

    • Method Detail

      • getInstance

        public static TraditionalWorkQueueCfgDefn getInstance()
        Get the Traditional Work Queue configuration definition singleton.
        Returns:
        Returns the Traditional Work Queue configuration definition singleton.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the Traditional Work Queue implementation.

        Returns:
        Returns the "java-class" property definition.
      • getMaxWorkQueueCapacityPropertyDefinition

        public IntegerPropertyDefinition getMaxWorkQueueCapacityPropertyDefinition()
        Get the "max-work-queue-capacity" property definition.

        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.

        Returns:
        Returns the "max-work-queue-capacity" property definition.
      • getNumWorkerThreadsPropertyDefinition

        public IntegerPropertyDefinition getNumWorkerThreadsPropertyDefinition()
        Get the "num-worker-threads" property definition.

        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.

        Returns:
        Returns the "num-worker-threads" property definition.