Package com.sun.corba.ee.spi.threadpool
Class ThreadPoolFactory
- java.lang.Object
-
- com.sun.corba.ee.spi.threadpool.ThreadPoolFactory
-
public class ThreadPoolFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadPool
create(int minSize, int maxSize, long timeout, java.lang.String threadpoolName)
Create a bounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.ThreadPool
create(int minSize, int maxSize, long timeout, java.lang.String threadpoolName, java.lang.ClassLoader defaultClassLoader)
Create a bounded thread pool in the current thread group with the given ClassLoader as the worker thread default ClassLoader.ThreadPool
create(java.lang.String threadpoolName)
Create an unbounded thread pool in the current thread group with the current context ClassLoader as the worker thread default ClassLoader.ThreadPool
create(java.lang.ThreadGroup tg, java.lang.String threadpoolName)
Create an unbounded thread pool in the given thread group with the current context ClassLoader as the worker thread default ClassLoader.ThreadPool
create(java.lang.ThreadGroup tg, java.lang.String threadpoolName, java.lang.ClassLoader defaultClassLoader)
Create an unbounded thread pool in the given thread group with the given ClassLoader as the worker thread default ClassLoader.
-
-
-
Method Detail
-
create
public ThreadPool create(java.lang.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(java.lang.ThreadGroup tg, java.lang.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(java.lang.ThreadGroup tg, java.lang.String threadpoolName, java.lang.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, java.lang.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, java.lang.String threadpoolName, java.lang.ClassLoader defaultClassLoader)
Create a bounded thread pool in the current thread group with the given ClassLoader as the worker thread default ClassLoader.
-
-