| Modifier and Type | Field and Description |
|---|---|
protected int |
coreThreads |
protected int |
groupCount |
protected String |
groupName |
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() |
GroupExecutor |
init() |
GroupExecutor |
init(String groupName) |
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 String groupName
protected int groupCount
protected int coreThreads
protected int maxThreads
protected int maxIdleInSecond
protected int maxQueueSize
public GroupExecutor init()
public GroupExecutor init(String groupName)
public void initConfig()
public List<ExecutorService> getExecutorList()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.