WorkManagerInfo

A Work Manager contains a pool of threads bound into JNDI.

Inherits from type ResourceEnvEntry and adds the following.

Attributes Summary
serviceNames : StringSpecifies a list of services to make available to this work manager.
minThreads : intThe minimum number of threads available in this Work Manager.
maxThreads : intThe maximum number of threads available in this Work Manager.
threadPriority : intThe priority of the threads available in this Work Manager
numAlarmThreads : intNumber of alarm threads for the Alarm manager.
isGrowable : booleanSpecifies whether the number of threads in this Work Manager can be increased.
defTranClass : StringThe default transaction class is only valid for zOS platform.
daemonTranClass : StringDaemon transaction class only valid for zOS platform
workTimeout : intSpecify the timeout value for a Work that is executing, Default value is 0 which means no work time out is enabled.
workReqQSize : intSpecifies the size of the buffer that the Work Manager's thread pool uses to pull requests from.
workReqQFullAction : intWork request queue full action.
isDistributable : booleanIf false, Work started with this Work Manager will not be distributed to other cluster members.

Attribute Details

serviceNames    -    Specifies a list of services to make available to this work manager.
     data type:  String
     default Value:   unspecified



minThreads    -    The minimum number of threads available in this Work Manager.
     data type:  int
     default Value:   0



maxThreads    -    The maximum number of threads available in this Work Manager.
     data type:  int
     default Value:   2



threadPriority    -    The priority of the threads available in this Work Manager
     data type:  int
     default Value:   5



numAlarmThreads    -    Number of alarm threads for the Alarm manager.
     data type:  int
     default Value:   2



isGrowable    -    Specifies whether the number of threads in this Work Manager can be increased.
     data type: boolean
     default Value:   true
     Allowed Values:  true   false  



defTranClass    -    The default transaction class is only valid for zOS platform.
     data type:  String
     default Value:   unspecified



daemonTranClass    -    Daemon transaction class only valid for zOS platform
     data type:  String
     default Value:   unspecified



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:  int
     default Value:   0



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:  int
     default Value:   unspecified



workReqQFullAction    -    Work request queue full action. Possible values: 0 - block; 1 - fail. If 0 is specified and the thread pool is unable to immediatelyallocate a thread or a free slot in the buffer, the request will blockindefinitely 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_FULLwill 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:  int
     default Value:   0



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: boolean
     default Value:   false
     Allowed Values:  true   false  


Copyright IBM Corp. 1997-2004