Constructor and Description |
---|
DefaultThreadPoolFactory() |
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.ThreadPoolFactory
public ExecutorService newThreadPool(org.apache.camel.spi.ThreadPoolProfile profile, ThreadFactory factory)
newThreadPool
in interface org.apache.camel.spi.ThreadPoolFactory
public ExecutorService newThreadPool(int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, int maxQueueSize, boolean allowCoreThreadTimeOut, RejectedExecutionHandler rejectedExecutionHandler, ThreadFactory threadFactory) throws IllegalArgumentException
IllegalArgumentException
public ScheduledExecutorService newScheduledThreadPool(org.apache.camel.spi.ThreadPoolProfile profile, ThreadFactory threadFactory)
newScheduledThreadPool
in interface org.apache.camel.spi.ThreadPoolFactory
Apache Camel