public interface ExecutorFactory
Executors.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLOW_CORE_THREADS_TIMEOUT |
static java.lang.String |
BYPASS_IF_SYNCHRONOUS |
static java.lang.String |
CORE_POOL_SIZE |
static java.lang.String |
KEEP_ALIVE_TIME |
static java.lang.String |
MAXIMUM_POOL_SIZE |
static java.lang.String |
QUEUE_SIZE |
static java.lang.String |
SHUTDOWN_DELAY |
static java.lang.String |
THREAD_DAEMON |
static java.lang.String |
THREAD_PRIORITY |
| Modifier and Type | Method and Description |
|---|---|
Executor |
createDaemonExecutor(java.lang.String id)
Create a new daemon executor for the given Id.
|
Executor |
createExecutor(java.lang.String id)
Create a new executor for the given Id.
|
Executor |
createExecutor(java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> config)
Create a new executor for the given id
using the additional configuration options provided.
|
static final java.lang.String ALLOW_CORE_THREADS_TIMEOUT
static final java.lang.String BYPASS_IF_SYNCHRONOUS
static final java.lang.String CORE_POOL_SIZE
static final java.lang.String KEEP_ALIVE_TIME
static final java.lang.String MAXIMUM_POOL_SIZE
static final java.lang.String QUEUE_SIZE
static final java.lang.String SHUTDOWN_DELAY
static final java.lang.String THREAD_DAEMON
static final java.lang.String THREAD_PRIORITY
Executor createExecutor(java.lang.String id)
id - the id of the executor to createExecutor createExecutor(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> config)
id - the id of the executor to createconfig - the additional executor configuration optionsExecutor createDaemonExecutor(java.lang.String id)
id - the id of the executor to createCopyright © 2005-2014 FuseSource. All Rights Reserved.