public class Configuration
extends java.lang.Object
Represents the configuration for the components that can be created from information in the OSGi ConfigAdmin.
| Modifier and Type | Method and Description |
|---|---|
org.apache.servicemix.executors.impl.ExecutorConfig |
getExecutorConfig()
Get the executor configuration object
|
static Configuration |
getInstance()
Get the singleton configuration object instance
|
void |
setAllowCoreThreadTimeOut(boolean timeout)
Allow the core threads to time out
|
void |
setCorePoolSize(int size)
Set the core thread pool size
|
void |
setKeepAliveTime(long time)
Set the keep alive time on the executor
|
void |
setMaximumPoolSize(int size)
Set the maximum thread pool size
|
void |
setQueueSize(int size)
Set the executor queue size
|
public static final Configuration getInstance()
public void setCorePoolSize(int size)
org.apache.servicemix.executors.impl.ExecutorConfig#setCorePoolSize(int)public void setMaximumPoolSize(int size)
org.apache.servicemix.executors.impl.ExecutorConfig#setMaximumPoolSize(int)public void setQueueSize(int size)
org.apache.servicemix.executors.impl.ExecutorConfig#setQueueSize(int)public void setAllowCoreThreadTimeOut(boolean timeout)
org.apache.servicemix.executors.impl.ExecutorConfig#setAllowCoreThreadTimeOut(boolean)public void setKeepAliveTime(long time)
org.apache.servicemix.executors.impl.ExecutorConfig#setKeepAliveTime(long)public org.apache.servicemix.executors.impl.ExecutorConfig getExecutorConfig()
Copyright © 2005-2014 FuseSource. All Rights Reserved.