Class WorkerPoolFactory
java.lang.Object
org.apache.axis2.transport.base.threads.WorkerPoolFactory
Worker pool factory.
For the moment this always creates
NativeWorkerPool instances since
we assume that we are running on Java 1.5 or above.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkerPoolgetWorkerPool(int core, int max, int keepAlive, int queueLength, int waterMark, String threadGroupName, String threadGroupId) static WorkerPoolgetWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId) static WorkerPoolgetWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId, BlockingQueue<Runnable> queue)
-
Constructor Details
-
WorkerPoolFactory
public WorkerPoolFactory()
-
-
Method Details
-
getWorkerPool
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId) -
getWorkerPool
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, int waterMark, String threadGroupName, String threadGroupId) -
getWorkerPool
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId, BlockingQueue<Runnable> queue)
-