This type is a class for model objects.
A Work Manager contains a pool of threads bound into JNDI.
Package: workmanagerAttributes 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 |