Class ParallelWorkQueueCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<ParallelWorkQueueCfgClient,ParallelWorkQueueCfg>
-
- org.forgerock.opendj.server.config.meta.ParallelWorkQueueCfgDefn
-
public final class ParallelWorkQueueCfgDefn extends ManagedObjectDefinition<ParallelWorkQueueCfgClient,ParallelWorkQueueCfg>
An interface for querying the Parallel Work Queue managed object definition meta information.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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ParallelWorkQueueCfgClientcreateClientConfiguration(ManagedObject<? extends ParallelWorkQueueCfgClient> impl)Creates a client configuration view of the provided managed object.ParallelWorkQueueCfgcreateServerConfiguration(ServerManagedObject<? extends ParallelWorkQueueCfg> impl)Creates a server configuration view of the provided server managed object.static ParallelWorkQueueCfgDefngetInstance()Get the Parallel Work Queue configuration definition singleton.ClassPropertyDefinitiongetJavaClassPropertyDefinition()Get the "java-class" property definition.IntegerPropertyDefinitiongetNumWorkerThreadsPropertyDefinition()Get the "num-worker-threads" property definition.Class<ParallelWorkQueueCfg>getServerConfigurationClass()Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
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
-
-
-
-
Method Detail
-
getInstance
public static ParallelWorkQueueCfgDefn getInstance()
Get the Parallel Work Queue configuration definition singleton.- Returns:
- Returns the Parallel Work Queue configuration definition singleton.
-
createClientConfiguration
public ParallelWorkQueueCfgClient createClientConfiguration(ManagedObject<? extends ParallelWorkQueueCfgClient> impl)
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfigurationin classManagedObjectDefinition<ParallelWorkQueueCfgClient,ParallelWorkQueueCfg>- Parameters:
impl- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public ParallelWorkQueueCfg createServerConfiguration(ServerManagedObject<? extends ParallelWorkQueueCfg> impl)
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfigurationin classManagedObjectDefinition<ParallelWorkQueueCfgClient,ParallelWorkQueueCfg>- Parameters:
impl- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<ParallelWorkQueueCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClassin classManagedObjectDefinition<ParallelWorkQueueCfgClient,ParallelWorkQueueCfg>- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the Parallel Work Queue implementation.
- Returns:
- Returns the "java-class" 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.
-
-