@ConfigurationProperties(prefix="camel.threadpool") public class CamelThreadPoolConfigurationProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties |
Constructor and Description |
---|
CamelThreadPoolConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowCoreThreadTimeOut() |
Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> |
getConfig() |
Long |
getKeepAliveTime() |
Integer |
getMaxPoolSize() |
Integer |
getMaxQueueSize() |
Integer |
getPoolSize() |
org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy |
getRejectedPolicy() |
TimeUnit |
getTimeUnit() |
void |
setAllowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut) |
void |
setConfig(Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> config) |
void |
setKeepAliveTime(Long keepAliveTime) |
void |
setMaxPoolSize(Integer maxPoolSize) |
void |
setMaxQueueSize(Integer maxQueueSize) |
void |
setPoolSize(Integer poolSize) |
void |
setRejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy) |
void |
setTimeUnit(TimeUnit timeUnit) |
public CamelThreadPoolConfigurationProperties()
public Integer getPoolSize()
public void setPoolSize(Integer poolSize)
public Integer getMaxPoolSize()
public void setMaxPoolSize(Integer maxPoolSize)
public Long getKeepAliveTime()
public void setKeepAliveTime(Long keepAliveTime)
public TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
public Integer getMaxQueueSize()
public void setMaxQueueSize(Integer maxQueueSize)
public Boolean getAllowCoreThreadTimeOut()
public void setAllowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)
public org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy getRejectedPolicy()
public void setRejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
public Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> getConfig()
public void setConfig(Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> config)
Apache Camel