Package org.apache.camel.builder
Class ThreadPoolProfileBuilder
- java.lang.Object
-
- org.apache.camel.builder.ThreadPoolProfileBuilder
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolProfileBuilder(String id)
ThreadPoolProfileBuilder(String id, org.apache.camel.spi.ThreadPoolProfile origProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadPoolProfileBuilder
allowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)
org.apache.camel.spi.ThreadPoolProfile
build()
Builds the thread pool profileThreadPoolProfileBuilder
defaultProfile(Boolean defaultProfile)
ThreadPoolProfileBuilder
keepAliveTime(Long keepAliveTime)
ThreadPoolProfileBuilder
keepAliveTime(Long keepAliveTime, TimeUnit timeUnit)
ThreadPoolProfileBuilder
maxPoolSize(Integer maxPoolSize)
ThreadPoolProfileBuilder
maxQueueSize(Integer maxQueueSize)
ThreadPoolProfileBuilder
poolSize(Integer poolSize)
ThreadPoolProfileBuilder
rejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
-
-
-
Method Detail
-
defaultProfile
public ThreadPoolProfileBuilder defaultProfile(Boolean defaultProfile)
-
poolSize
public ThreadPoolProfileBuilder poolSize(Integer poolSize)
-
maxPoolSize
public ThreadPoolProfileBuilder maxPoolSize(Integer maxPoolSize)
-
keepAliveTime
public ThreadPoolProfileBuilder keepAliveTime(Long keepAliveTime, TimeUnit timeUnit)
-
keepAliveTime
public ThreadPoolProfileBuilder keepAliveTime(Long keepAliveTime)
-
maxQueueSize
public ThreadPoolProfileBuilder maxQueueSize(Integer maxQueueSize)
-
allowCoreThreadTimeOut
public ThreadPoolProfileBuilder allowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut)
-
rejectedPolicy
public ThreadPoolProfileBuilder rejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
-
build
public org.apache.camel.spi.ThreadPoolProfile build()
Builds the thread pool profile- Returns:
- the thread pool profile
-
-