public class ContainerThreadPoolsConfig extends Object implements org.mule.runtime.api.scheduler.SchedulerPoolsConfig
All of its getter methods for configuration values eturn non-null values.
| Modifier and Type | Field and Description |
|---|---|
static String |
CPU_INTENSIVE_PREFIX |
static String |
CPU_LIGHT_PREFIX |
static String |
IO_PREFIX |
static String |
PROP_PREFIX |
static String |
SCHEDULER_POOLS_CONFIG_FILE_PROPERTY |
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 |
static String |
WORK_QUEUE |
static String |
WORK_QUEUE_SIZE |
| Modifier and Type | Method and Description |
|---|---|
OptionalInt |
getCpuIntensivePoolSize() |
OptionalInt |
getCpuIntensiveQueueSize() |
OptionalInt |
getCpuLightPoolSize() |
OptionalInt |
getCpuLightQueueSize() |
OptionalLong |
getGracefulShutdownTimeout() |
OptionalInt |
getIoCorePoolSize() |
OptionalLong |
getIoKeepAlive() |
OptionalInt |
getIoMaxPoolSize() |
OptionalInt |
getIoQueueSize() |
String |
getThreadNamePrefix() |
static ContainerThreadPoolsConfig |
loadThreadPoolsConfig()
Loads the configuration from the
{mule.home}/conf/scheduler-pools.conf file. |
public static final String SCHEDULER_POOLS_CONFIG_FILE_PROPERTY
public static final String PROP_PREFIX
public static final String CPU_LIGHT_PREFIX
public static final String IO_PREFIX
public static final String CPU_INTENSIVE_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 final String WORK_QUEUE
public static final String WORK_QUEUE_SIZE
public static ContainerThreadPoolsConfig 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 OptionalLong getGracefulShutdownTimeout()
getGracefulShutdownTimeout in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getCpuLightPoolSize()
getCpuLightPoolSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getCpuLightQueueSize()
getCpuLightQueueSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getIoCorePoolSize()
getIoCorePoolSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getIoMaxPoolSize()
getIoMaxPoolSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getIoQueueSize()
getIoQueueSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalLong getIoKeepAlive()
getIoKeepAlive in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getCpuIntensivePoolSize()
getCpuIntensivePoolSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic OptionalInt getCpuIntensiveQueueSize()
getCpuIntensiveQueueSize in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigpublic String getThreadNamePrefix()
getThreadNamePrefix in interface org.mule.runtime.api.scheduler.SchedulerPoolsConfigCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.