Class CamelThreadPoolConfigurationProperties
- java.lang.Object
-
- org.apache.camel.spring.boot.threadpool.CamelThreadPoolConfigurationProperties
-
@ConfigurationProperties(prefix="camel.threadpool") public class CamelThreadPoolConfigurationProperties extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties
-
Constructor Summary
Constructors Constructor Description CamelThreadPoolConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAllowCoreThreadTimeOut()Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties>getConfig()LonggetKeepAliveTime()IntegergetMaxPoolSize()IntegergetMaxQueueSize()IntegergetPoolSize()org.apache.camel.util.concurrent.ThreadPoolRejectedPolicygetRejectedPolicy()TimeUnitgetTimeUnit()booleanisEmpty()voidsetAllowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)voidsetConfig(Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> config)voidsetKeepAliveTime(Long keepAliveTime)voidsetMaxPoolSize(Integer maxPoolSize)voidsetMaxQueueSize(Integer maxQueueSize)voidsetPoolSize(Integer poolSize)voidsetRejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)voidsetTimeUnit(TimeUnit timeUnit)
-
-
-
Method Detail
-
getPoolSize
public Integer getPoolSize()
-
setPoolSize
public void setPoolSize(Integer poolSize)
-
getMaxPoolSize
public Integer getMaxPoolSize()
-
setMaxPoolSize
public void setMaxPoolSize(Integer maxPoolSize)
-
getKeepAliveTime
public Long getKeepAliveTime()
-
setKeepAliveTime
public void setKeepAliveTime(Long keepAliveTime)
-
getTimeUnit
public TimeUnit getTimeUnit()
-
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)
-
getMaxQueueSize
public Integer getMaxQueueSize()
-
setMaxQueueSize
public void setMaxQueueSize(Integer maxQueueSize)
-
getAllowCoreThreadTimeOut
public Boolean getAllowCoreThreadTimeOut()
-
setAllowCoreThreadTimeOut
public void setAllowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)
-
getRejectedPolicy
public org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy getRejectedPolicy()
-
setRejectedPolicy
public void setRejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
-
getConfig
public Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> getConfig()
-
setConfig
public void setConfig(Map<String,CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties> config)
-
isEmpty
public boolean isEmpty()
-
-