Sun GlassFish Enterprise Server v3 Prelude Administration Reference

thread-pool

Defines a thread pool.


Note –

This element is not implemented for GlassFish v3 Prelude.


Superelements

thread-pools

Subelements

The following table describes subelements for the thread-pool element.

Table 1–100 thread-pool Subelements

Element 

Required 

Description 

property

zero or more 

Specifies a property or a variable. 

Attributes

Table 1–101 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.