| java.lang.Object java.util.concurrent.AbstractExecutorService java.util.concurrent.ThreadPoolExecutor org.apache.synapse.util.concurrent.SynapseThreadPool
SynapseThreadPool | public class SynapseThreadPool extends ThreadPoolExecutor (Code) | | This is the executor service that will be returned by the env
|
SYNAPSE_CORE_THREADS | final public static int SYNAPSE_CORE_THREADS(Code) | | |
SYNAPSE_KEEP_ALIVE | final public static int SYNAPSE_KEEP_ALIVE(Code) | | |
SYNAPSE_MAX_THREADS | final public static int SYNAPSE_MAX_THREADS(Code) | | |
SYNAPSE_THREAD_GROUP | final public static String SYNAPSE_THREAD_GROUP(Code) | | |
SYNAPSE_THREAD_ID_PREFIX | final public static String SYNAPSE_THREAD_ID_PREFIX(Code) | | |
SYNAPSE_THREAD_QLEN | final public static int SYNAPSE_THREAD_QLEN(Code) | | |
SYN_THREAD_ALIVE | final public static String SYN_THREAD_ALIVE(Code) | | |
SYN_THREAD_CORE | final public static String SYN_THREAD_CORE(Code) | | |
SYN_THREAD_GROUP | final public static String SYN_THREAD_GROUP(Code) | | |
SYN_THREAD_IDPREFIX | final public static String SYN_THREAD_IDPREFIX(Code) | | |
SYN_THREAD_MAX | final public static String SYN_THREAD_MAX(Code) | | |
SYN_THREAD_QLEN | final public static String SYN_THREAD_QLEN(Code) | | |
SynapseThreadPool | public SynapseThreadPool(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue)(Code) | | Constructor for the Synapse thread poll
Parameters: corePoolSize - - number of threads to keep in the pool, even if they are idle Parameters: maximumPoolSize - - the maximum number of threads to allow in the pool Parameters: keepAliveTime - - this is the maximum time that excess idle threads will waitfor new tasks before terminating. Parameters: unit - - the time unit for the keepAliveTime argument. Parameters: workQueue - - the queue to use for holding tasks before they are executed. |
SynapseThreadPool | public SynapseThreadPool()(Code) | | Default Constructor for the thread pool and will use all the values as default
|
SynapseThreadPool | public SynapseThreadPool(int corePoolSize, int maxPoolSize, long keepAliveTime, int qlen, String threadGroup, String threadIdPrefix)(Code) | | Constructor for the SynapseThreadPool
Parameters: corePoolSize - - number of threads to keep in the pool, even if they are idle Parameters: maxPoolSize - - the maximum number of threads to allow in the pool Parameters: keepAliveTime - - this is the maximum time that excess idle threads will waitfor new tasks before terminating. Parameters: qlen - - Thread Blocking Queue length Parameters: threadGroup - - ThreadGroup name Parameters: threadIdPrefix - - Thread id prefix |
|
|