public class WildFlyCamelThreadPoolFactory extends Object implements org.apache.camel.spi.ThreadPoolFactory
| Constructor and Description |
|---|
WildFlyCamelThreadPoolFactory() |
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
newCachedThreadPool(ThreadFactory threadFactory) |
ScheduledExecutorService |
newScheduledThreadPool(org.apache.camel.spi.ThreadPoolProfile profile,
ThreadFactory threadFactory) |
ExecutorService |
newThreadPool(int corePoolSize,
int maxPoolSize,
long keepAliveTime,
TimeUnit timeUnit,
int maxQueueSize,
boolean allowCoreThreadTimeOut,
RejectedExecutionHandler rejectedExecutionHandler,
ThreadFactory threadFactory) |
ExecutorService |
newThreadPool(org.apache.camel.spi.ThreadPoolProfile profile,
ThreadFactory factory) |
public ExecutorService newCachedThreadPool(ThreadFactory threadFactory)
newCachedThreadPool in interface org.apache.camel.spi.ThreadPoolFactorypublic ExecutorService newThreadPool(org.apache.camel.spi.ThreadPoolProfile profile, ThreadFactory factory)
newThreadPool in interface org.apache.camel.spi.ThreadPoolFactorypublic ExecutorService newThreadPool(int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, int maxQueueSize, boolean allowCoreThreadTimeOut, RejectedExecutionHandler rejectedExecutionHandler, ThreadFactory threadFactory) throws IllegalArgumentException
IllegalArgumentExceptionpublic ScheduledExecutorService newScheduledThreadPool(org.apache.camel.spi.ThreadPoolProfile profile, ThreadFactory threadFactory)
newScheduledThreadPool in interface org.apache.camel.spi.ThreadPoolFactoryCopyright © 2017. All rights reserved.