Class ThreadPoolFactory

java.lang.Object
com.sun.corba.ee.spi.threadpool.ThreadPoolFactory

public class ThreadPoolFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int minSize, int maxSize, long timeout, String threadpoolName)
    Create a bounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.
    create(int minSize, int maxSize, long timeout, String threadpoolName, ClassLoader defaultClassLoader)
    Create a bounded thread pool in the current thread group with the given ClassLoader as the worker thread default ClassLoader.
    create(String threadpoolName)
    Create an unbounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.
    create(ThreadGroup tg, String threadpoolName)
    Create an unbounded thread pool in the given thread group with the current context ClassLoader as the worker thread default ClassLoader.
    create(ThreadGroup tg, String threadpoolName, ClassLoader defaultClassLoader)
    Create an unbounded thread pool in the given thread group with the given ClassLoader as the worker thread default ClassLoader.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThreadPoolFactory

      public ThreadPoolFactory()
  • Method Details

    • create

      public ThreadPool create(String threadpoolName)
      Create an unbounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.
    • create

      public ThreadPool create(ThreadGroup tg, String threadpoolName)
      Create an unbounded thread pool in the given thread group with the current context ClassLoader as the worker thread default ClassLoader.
    • create

      public ThreadPool create(ThreadGroup tg, String threadpoolName, ClassLoader defaultClassLoader)
      Create an unbounded thread pool in the given thread group with the given ClassLoader as the worker thread default ClassLoader.
    • create

      public ThreadPool create(int minSize, int maxSize, long timeout, String threadpoolName)
      Create a bounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.
    • create

      public ThreadPool create(int minSize, int maxSize, long timeout, String threadpoolName, ClassLoader defaultClassLoader)
      Create a bounded thread pool in the current thread group with the given ClassLoader as the worker thread default ClassLoader.