|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.osgi.Configuration
public class Configuration
Represents the configuration for the components that can be created from information in the OSGi ConfigAdmin.
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||