Package org.apache.catalina.tribes.util
Class ExecutorFactory
- java.lang.Object
-
- org.apache.catalina.tribes.util.ExecutorFactory
-
public class ExecutorFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringManager
sm
-
Constructor Summary
Constructors Constructor Description ExecutorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ExecutorService
newThreadPool(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit)
static java.util.concurrent.ExecutorService
newThreadPool(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit, java.util.concurrent.ThreadFactory threadFactory)
-
-
-
Field Detail
-
sm
protected static final StringManager sm
-
-
Method Detail
-
newThreadPool
public static java.util.concurrent.ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit)
-
newThreadPool
public static java.util.concurrent.ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit, java.util.concurrent.ThreadFactory threadFactory)
-
-