Sun GlassFish Enterprise Server 2.1 Administration Reference

thread-pool

Defines a thread pool.

Superelements

thread-pools

Subelements

none

Attributes

Table 1–178 thread-pool Attributes

Attribute 

Default 

Description 

thread-pool-id

none 

Specifies the thread pool ID. 

min-thread-pool-size

0

(optional) Specifies the minimum number of threads in the pool. These are created when the thread pool is instantiated. 

max-thread-pool-size

200

(optional) Specifies the maximum number of threads the pool can contain. 

idle-thread-timeout-in-seconds

120

(optional) Specifies the amount of time after which idle threads are removed from the pool. 

num-work-queues

1

(optional) Specifies the total number of work queues serviced by this thread pool.