public class ExecutorFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Constructor and Description |
---|
ExecutorFactory() |
Modifier and Type | Method and Description |
---|---|
static ExecutorService |
newThreadPool(int minThreads,
int maxThreads,
long maxIdleTime,
TimeUnit unit) |
static ExecutorService |
newThreadPool(int minThreads,
int maxThreads,
long maxIdleTime,
TimeUnit unit,
ThreadFactory threadFactory) |
protected static final StringManager sm
public static ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, TimeUnit unit)
public static ExecutorService newThreadPool(int minThreads, int maxThreads, long maxIdleTime, TimeUnit unit, ThreadFactory threadFactory)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.