public interface ThreadPool extends ConfigBeanProxy, PropertyBag
Modifier and Type | Interface and Description |
---|---|
static class |
ThreadPool.Duck |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_THREAD_POOL_CLASS_NAME |
static int |
IDLE_THREAD_TIMEOUT |
static int |
MAX_QUEUE_SIZE |
static int |
MAX_THREADPOOL_SIZE |
static int |
MIN_THREADPOOL_SIZE |
Modifier and Type | Method and Description |
---|---|
List<NetworkListener> |
findNetworkListeners() |
String |
getClassname()
The classname of a thread pool implementation
|
String |
getIdleThreadTimeoutSeconds()
Idle threads are removed from pool, after this time (in seconds)
|
String |
getMaxQueueSize()
The maxim number of tasks, which could be queued on the thread pool.
|
String |
getMaxThreadPoolSize()
Maximum number of threads in the thread pool servicing
requests in this queue.
|
String |
getMinThreadPoolSize()
Minimum number of threads in the thread pool servicing
requests in this queue.
|
String |
getName()
This is an id for the work-queue e.g.
|
String |
getThreadPoolId()
Deprecated.
|
void |
setClassname(String value) |
void |
setIdleThreadTimeoutSeconds(String value) |
void |
setMaxQueueSize(String value) |
void |
setMaxThreadPoolSize(String value) |
void |
setMinThreadPoolSize(String value) |
void |
setName(String value) |
void |
setThreadPoolId(String value) |
createChild, deepCopy, getParent, getParent
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
static final String DEFAULT_THREAD_POOL_CLASS_NAME
static final int IDLE_THREAD_TIMEOUT
static final int MAX_QUEUE_SIZE
static final int MAX_THREADPOOL_SIZE
static final int MIN_THREADPOOL_SIZE
String getClassname()
void setClassname(String value)
String getIdleThreadTimeoutSeconds()
void setIdleThreadTimeoutSeconds(String value)
String getMaxQueueSize()
void setMaxQueueSize(String value)
String getMaxThreadPoolSize()
void setMaxThreadPoolSize(String value) throws PropertyVetoException
PropertyVetoException
String getMinThreadPoolSize()
void setMinThreadPoolSize(String value)
String getName()
void setName(String value)
@Deprecated String getThreadPoolId()
void setThreadPoolId(String value)
@DuckTyped List<NetworkListener> findNetworkListeners()
Copyright © 2018. All rights reserved.