Package org.apache.camel.builder
Class ThreadPoolProfileBuilder
java.lang.Object
org.apache.camel.builder.ThreadPoolProfileBuilder
Builder to build
ThreadPoolProfile.
Use the build() method when done setting up the profile.-
Constructor Summary
ConstructorsConstructorDescriptionThreadPoolProfileBuilder(String id, org.apache.camel.spi.ThreadPoolProfile origProfile) -
Method Summary
Modifier and TypeMethodDescriptionallowCoreThreadTimeOut(Boolean allowCoreThreadTimeOut) org.apache.camel.spi.ThreadPoolProfilebuild()Builds the thread pool profiledefaultProfile(Boolean defaultProfile) keepAliveTime(Long keepAliveTime) keepAliveTime(Long keepAliveTime, TimeUnit timeUnit) maxPoolSize(Integer maxPoolSize) maxQueueSize(Integer maxQueueSize) rejectedPolicy(org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy rejectedPolicy)
-
Constructor Details
-
ThreadPoolProfileBuilder
-
ThreadPoolProfileBuilder
-
-
Method Details
-
defaultProfile
-
poolSize
-
maxPoolSize
-
keepAliveTime
-
keepAliveTime
-
maxQueueSize
-
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
-