| Modifier and Type | Field and Description |
|---|---|
protected int |
coreThreads |
protected int |
groupCount |
static String |
KEY_CORE_THREADS |
static String |
KEY_GROUP |
static String |
KEY_MAX_IDLE_SECOND |
static String |
KEY_MAX_QUEUE_SIZE |
static String |
KEY_MAX_THREADS |
static String |
KEY_OLD_MAX_THREAD |
protected int |
maxIdleInSecond |
protected int |
maxQueueSize |
protected int |
maxThreads |
| Constructor and Description |
|---|
GroupExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute(Runnable command) |
List<ExecutorService> |
getExecutorList() |
void |
init() |
void |
initConfig() |
public static final String KEY_GROUP
public static final String KEY_OLD_MAX_THREAD
public static final String KEY_CORE_THREADS
public static final String KEY_MAX_THREADS
public static final String KEY_MAX_IDLE_SECOND
public static final String KEY_MAX_QUEUE_SIZE
protected int groupCount
protected int coreThreads
protected int maxThreads
protected int maxIdleInSecond
protected int maxQueueSize
public void init()
public void initConfig()
public List<ExecutorService> getExecutorList()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017–2019 The Apache Software Foundation. All rights reserved.