WorkManagerInfo
This type is a class for model objects.
A Work Manager contains a pool of threads bound into JNDI.
Package: workmanager
Supertype: ResourceEnvEntry
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Reference attributes having this type:
SchedulerConfiguration.workManagerInfo
Attributes Summary serviceNames : EString Specifies a list of services to make available to this work manager. minThreads : EInt The minimum number of threads available in this Work Manager. maxThreads : EInt The maximum number of threads available in this Work Manager. threadPriority : EInt The priority of the threads available in this Work Manager numAlarmThreads : EInt Number of alarm threads for the Alarm manager. isGrowable : EBoolean Specifies whether the number of threads in this Work Manager can be increased. defTranClass : EString The default transaction class is only valid for zOS platform. daemonTranClass : EString Daemon transaction class only valid for zOS platform workTimeout : EInt Specify the timeout value for a Work that is executing, Default value is 0 which means no work time out is enabled. The unit of the time is in milliseconds. workReqQSize : EInt Specifies the size of the buffer that the Work Manager's thread pool uses to pull requests from. The total number of in-flight requests will be the sum of Max Threads and this wrok request size. If this value is not set, then the queue size is undefined. The value range is 1 to (2^32)-1. Notes: Use with extreme caution. Specifying a large value can lead to instability and memory resource issues. workReqQFullAction : EInt Work request queue full action. Possible values: 0 - block; 1 - fail. If 0 is specified and the thread pool is unable to immediately allocate a thread or a free slot in the buffer, the request will block indefinitely until a thread becomes available in the pool. This is the default behavior. If 1 is specified and the thread pool is unable to immediately allocate a thread or a free slot in the buffer, a WorkRejectedException with an error code of WorkRejectedException.WORKREQUEST_QUEUE_FULL will be thrown. The request can be retried until successful. The WorkRejectedException may be thrown any time where a thread cannot be immediately be allocated and may not reflect the size of the thread pool and buffer. isDistributable : EBoolean If false, Work started with this Work Manager will not be distributed to other cluster members. If true, Work may optionally execute remotely if the Work is distributable.
Attribute Details
serviceNames - Specifies a list of services to make available to this work manager.
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 0
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
minThreads - The minimum number of threads available in this Work Manager.
Data Type: EInt
Default value: 0
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
maxThreads - The maximum number of threads available in this Work Manager.
Data Type: EInt
Default value: 2
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
threadPriority - The priority of the threads available in this Work Manager
Data Type: EInt
Default value: 5
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
numAlarmThreads - Number of alarm threads for the Alarm manager.
Data Type: EInt
Default value: 2
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
isGrowable - Specifies whether the number of threads in this Work Manager can be increased.
Data Type: EBoolean
Default value: true
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
defTranClass - The default transaction class is only valid for zOS platform.
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
daemonTranClass - Daemon transaction class only valid for zOS platform
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
workTimeout - Specify the timeout value for a Work that is executing, Default value is 0 which means no work time out is enabled. The unit of the time is in milliseconds.
Data Type: EInt
Default value: 0
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
workReqQSize - Specifies the size of the buffer that the Work Manager's thread pool uses to pull requests from. The total number of in-flight requests will be the sum of Max Threads and this wrok request size. If this value is not set, then the queue size is undefined. The value range is 1 to (2^32)-1. Notes: Use with extreme caution. Specifying a large value can lead to instability and memory resource issues.
Data Type: EInt
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
workReqQFullAction - Work request queue full action. Possible values: 0 - block; 1 - fail. If 0 is specified and the thread pool is unable to immediately allocate a thread or a free slot in the buffer, the request will block indefinitely until a thread becomes available in the pool. This is the default behavior. If 1 is specified and the thread pool is unable to immediately allocate a thread or a free slot in the buffer, a WorkRejectedException with an error code of WorkRejectedException.WORKREQUEST_QUEUE_FULL will be thrown. The request can be retried until successful. The WorkRejectedException may be thrown any time where a thread cannot be immediately be allocated and may not reflect the size of the thread pool and buffer.
Data Type: EInt
Default value: 0
Required: false
Changeable: true
Unsettable: true
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
isDistributable - If false, Work started with this Work Manager will not be distributed to other cluster members. If true, Work may optionally execute remotely if the Work is distributable.
Data Type: EBoolean
Default value: false
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006