public final class TraditionalWorkQueueCfgDefn extends ManagedObjectDefinition<TraditionalWorkQueueCfgClient,TraditionalWorkQueueCfg>
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.
Modifier and Type | Method and Description |
---|---|
TraditionalWorkQueueCfgClient |
createClientConfiguration(ManagedObject<? extends TraditionalWorkQueueCfgClient> impl)
Creates a client configuration view of the provided managed
object.
|
TraditionalWorkQueueCfg |
createServerConfiguration(ServerManagedObject<? extends TraditionalWorkQueueCfg> impl)
Creates a server configuration view of the provided server
managed object.
|
static TraditionalWorkQueueCfgDefn |
getInstance()
Get the Traditional Work Queue configuration definition
singleton.
|
ClassPropertyDefinition |
getJavaClassPropertyDefinition()
Get the "java-class" property definition.
|
IntegerPropertyDefinition |
getMaxWorkQueueCapacityPropertyDefinition()
Get the "max-work-queue-capacity" property definition.
|
IntegerPropertyDefinition |
getNumWorkerThreadsPropertyDefinition()
Get the "num-worker-threads" property definition.
|
Class<TraditionalWorkQueueCfg> |
getServerConfigurationClass()
Gets the server configuration class instance associated with this
managed object definition.
|
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
public static TraditionalWorkQueueCfgDefn getInstance()
public TraditionalWorkQueueCfgClient createClientConfiguration(ManagedObject<? extends TraditionalWorkQueueCfgClient> impl)
createClientConfiguration
in class ManagedObjectDefinition<TraditionalWorkQueueCfgClient,TraditionalWorkQueueCfg>
impl
- The managed object.public TraditionalWorkQueueCfg createServerConfiguration(ServerManagedObject<? extends TraditionalWorkQueueCfg> impl)
createServerConfiguration
in class ManagedObjectDefinition<TraditionalWorkQueueCfgClient,TraditionalWorkQueueCfg>
impl
- The server managed object.public Class<TraditionalWorkQueueCfg> getServerConfigurationClass()
getServerConfigurationClass
in class ManagedObjectDefinition<TraditionalWorkQueueCfgClient,TraditionalWorkQueueCfg>
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Specifies the fully-qualified name of the Java class that provides the Traditional Work Queue implementation.
public IntegerPropertyDefinition getMaxWorkQueueCapacityPropertyDefinition()
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.
public IntegerPropertyDefinition getNumWorkerThreadsPropertyDefinition()
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.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.