en.help.task-threadpooledit.html Maven / Gradle / Ivy
To Edit a Thread Pool
-
In the navigation tree, expand the Configuration node.
-
Under the Configuration node, select the Thread Pools node.
The Thread Pools page opens.
-
On the Thread Pools page, click the name of the thread pool to be edited.
The Edit Thread Pool page opens.
-
On the Edit Thread Pool page, in the Class Name field, type the fully qualified name of the class that implements the thread pool.
The default value is com.sun.grizzly.http.StatsThreadPool
.
-
In the Max Queue Size field, type the maximum number of messages that can be queued until threads are available to process them.
A value of -1 indicates that there is no limit to the queue size. The default value is 4096.
-
In the Max Thread Pool Size field, type the largest number of threads that can exist in the thread pool.
The default value is 5. This is the recommended value for network listener thread pools.
-
In the Min Thread Pool Size field, type the smallest number of threads that can exist in the thread pool.
These threads are created when the thread pool is instantiated. The default value is 2.
-
In the Idle Thread Timeout field, type the maximum amount of time, in seconds, that a thread can remain idle in the pool.
After this time expires, the thread is removed from the pool. The default value is 900.
-
Click Save.
Tip:
To return to the default settings, click the Load Defaults button, then click Save.
See Also
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices