|
||||||||||
| 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(int 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)
ExecutorConfig.setCorePoolSize(int)public void setMaximumPoolSize(int size)
ExecutorConfig.setMaximumPoolSize(int)public void setQueueSize(int size)
ExecutorConfig.setQueueSize(int)public void setAllowCoreThreadTimeout(boolean timeout)
ExecutorConfig.setAllowCoreThreadsTimeout(boolean)public void setKeepAliveTime(int time)
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 | |||||||||