@Configurer(bootstrap=true) public class ThreadPoolProfileConfigurationProperties extends Object
| Constructor and Description |
|---|
ThreadPoolProfileConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAllowCoreThreadTimeOut() |
String |
getId() |
Long |
getKeepAliveTime() |
Integer |
getMaxPoolSize() |
Integer |
getMaxQueueSize() |
Integer |
getPoolSize() |
org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy |
getRejectedPolicy() |
TimeUnit |
getTimeUnit() |
void |
setAllowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)
Sets whether to allow core threads to timeout
|
void |
setId(String id)
Sets the id of this thread pool
|
void |
setKeepAliveTime(Long keepAliveTime)
Sets the keep alive time for inactive threads
|
void |
setMaxPoolSize(Integer maxPoolSize)
Sets the maximum pool size
|
void |
setMaxQueueSize(Integer maxQueueSize)
Sets the maximum number of tasks in the work queue.
|
void |
setPoolSize(Integer poolSize)
Sets the core pool size (threads to keep minimum in pool)
|
void |
setRejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
Sets the handler for tasks which cannot be executed by the thread pool.
|
void |
setTimeUnit(TimeUnit timeUnit)
Sets the time unit used for keep alive time
|
public ThreadPoolProfileConfigurationProperties()
public String getId()
public void setId(String id)
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)
Apache Camel