Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.3.22.2. JBoss AS 7 and EAP 6 - ThreadPool Service

Overview

Table 3.697. Overview

Description:A thread pool executor
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.698. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics

Table 3.699. Metrics

NameTypeDescriptionInternal Name
Active CountmeasurementThe approximate number of threads that are actively executing tasks.active-count
Completed Task CountmeasurementThe approximate total number of tasks that have completed execution.completed-task-count
Current Thread CountmeasurementThe current number of threads in the pool.current-thread-count
Largest Thread CountmeasurementThe largest number of threads that have ever simultaneously been in the pool.largest-thread-count
Rejected CountmeasurementThe number of tasks that have been rejected.rejected-count
Task CountmeasurementThe approximate total number of tasks that have ever been scheduled for execution.task-count

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.
Configuration Properties

Table 3.700. 

NameDescriptionRequiredInternal Name
Keepalive TimeUsed to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down. The unit must be given in all-capital letters, such as SECONDS; otherwise, on EAP 6.0.0 instances, the operation fails. no keepalive-time
Max ThreadsThe maximum thread pool size. yes max-threads:expr
NameThe name of the thread pool. no name
Queue LengthThe queue length. Required only for Bounded and Blocking Bounded Thread Pools. no queue-length:expr
Thread FactorySpecifies the name of a specific thread factory to use to create worker threads. If not defined an appropriate default thread factory will be used. no thread-factory
Allow Core TimeoutWhether core threads may time out. The default value is false. no allow-core-timeout
Core ThreadsThe core thread pool size which is smaller than the maximum pool size. If undefined, the core thread pool size is the same as the maximum thread pool size. no core-threads:expr
Handoff ExecutorAn executor to delegate tasks to in the event that a task cannot be accepted. If not specified, tasks that cannot be accepted will be silently discarded. no handoff-executor
Thread Pool TypeThread pool type yes __type

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none