public class ThreadPoolsConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_PREFIX |
static String |
THREAD_POOL |
static String |
THREAD_POOL_KEEP_ALIVE |
static String |
THREAD_POOL_SIZE |
static String |
THREAD_POOL_SIZE_CORE |
static String |
THREAD_POOL_SIZE_MAX |
| Modifier and Type | Method and Description |
|---|---|
Properties |
defaultQuartzProperties(String name) |
int |
getCpuIntensivePoolSize() |
int |
getCpuLightPoolSize() |
long |
getGracefulShutdownTimeout() |
int |
getIoCorePoolSize() |
long |
getIoKeepAlive() |
int |
getIoMaxPoolSize() |
static ThreadPoolsConfig |
loadThreadPoolsConfig()
Loads the configuration from the
{mule.home}/conf/scheduler-pools.conf file. |
public static final String PROP_PREFIX
public static final String THREAD_POOL
public static final String THREAD_POOL_SIZE
public static final String THREAD_POOL_SIZE_MAX
public static final String THREAD_POOL_SIZE_CORE
public static final String THREAD_POOL_KEEP_ALIVE
public static ThreadPoolsConfig loadThreadPoolsConfig() throws org.mule.runtime.api.exception.MuleException
{mule.home}/conf/scheduler-pools.conf file.org.mule.runtime.api.exception.MuleException - for any trouble that happens while parsing the file.public long getGracefulShutdownTimeout()
public int getCpuLightPoolSize()
cpu_lite pool, even if they are idle.public int getIoCorePoolSize()
I/O pool.public int getIoMaxPoolSize()
I/O pool.public long getIoKeepAlive()
I/O pool is greater than getIoCorePoolSize(), this is the maximum
time (in milliseconds) that excess idle threads will wait for new tasks before terminating.public int getCpuIntensivePoolSize()
cpu_intensive pool, even if they are idle.public Properties defaultQuartzProperties(String name)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.