Defines a thread pool.
The following table describes subelements for the thread-pool element.
Table 1–165 thread-pool Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property or a variable. |
Attribute |
Default |
Description |
---|---|---|
none |
Specifies the thread pool name. |
|
com.sun.grizzly.http.StatsThreadPool |
(Optional) Specifies the class name of the thread pool implementation. |
|
2 |
(optional) Specifies the minimum number of threads in the pool. These are created when the thread pool is instantiated. |
|
5 |
(optional) Specifies the maximum number of threads the pool can contain. To optimize this thread pool for use with an iiop-listener, set this value to 200. |
|
900 |
(optional) Specifies the amount of time after which idle threads are removed from the pool. |
|
4096 |
(optional) Specifies the maximum number of messages that can be queued until threads are available to process them for , network-listener or iiop-listener elements. A value of -1 specifies no limit. |