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 class
CamelThreadPoolConfigurationProperties.ThreadPoolProfileConfigurationProperties
-
Constructor Summary
Constructors Constructor Description CamelThreadPoolConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
boolean
isEmpty()
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)
-
-
-
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()
-
-