All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-threadpooledit.html Maven / Gradle / Ivy

The newest version!



To Edit a Thread Pool

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, select the Thread Pools node.

    The Thread Pools page opens.

  3. On the Thread Pools page, click the name of the thread pool to be edited.

    The Edit Thread Pool page opens.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also

Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy