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

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

There is a newer version: 3.2-b03
Show newest version



To Create a Thread Pool

Thread pools are used by network listeners and by the ORB. Commonly, a network listener uses one of the two thread pools that are created when you install the Enterprise Server, and the ORB uses the other. You may edit either of these default thread pools to specify settings appropriate to your applications or hardware systems, or you can create and use a thread pool with these settings.

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

    The New Thread Pool page opens.

  4. In the Name field, type a name for the thread pool.
  5. 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.

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

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

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

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

  10. Click OK.
See Also




© 2015 - 2024 Weber Informatics LLC | Privacy Policy