Package org.apache.camel.impl.engine
Class DefaultExecutorServiceManager
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.impl.engine.BaseExecutorServiceManager
-
- org.apache.camel.impl.engine.DefaultExecutorServiceManager
-
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.Service
,org.apache.camel.ShutdownableService
,org.apache.camel.spi.ExecutorServiceManager
,org.apache.camel.StatefulService
,org.apache.camel.StaticService
,org.apache.camel.SuspendableService
public class DefaultExecutorServiceManager extends BaseExecutorServiceManager
DefaultExecutorServiceManager
.
-
-
Constructor Summary
Constructors Constructor Description DefaultExecutorServiceManager(org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
forceId(Object source)
ExecutorService
newCachedThreadPool(Object source, String name)
ScheduledExecutorService
newScheduledThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)
ExecutorService
newThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)
-
Methods inherited from class org.apache.camel.impl.engine.BaseExecutorServiceManager
awaitTermination, createThreadFactory, doInit, doShutdown, doStart, getCamelContext, getDefaultThreadPoolProfile, getShutdownAwaitTermination, getThreadNamePattern, getThreadPoolFactory, getThreadPoolProfile, newDefaultScheduledThreadPool, newDefaultThreadPool, newFixedThreadPool, newScheduledThreadPool, newScheduledThreadPool, newSingleThreadExecutor, newSingleThreadScheduledExecutor, newThread, newThreadPool, newThreadPool, onNewExecutorService, registerThreadPoolProfile, resolveThreadName, setDefaultThreadPoolProfile, setShutdownAwaitTermination, setThreadNamePattern, setThreadPoolFactory, shutdown, shutdownGraceful, shutdownGraceful, shutdownNow
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
newThreadPool
public ExecutorService newThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)
- Specified by:
newThreadPool
in interfaceorg.apache.camel.spi.ExecutorServiceManager
- Overrides:
newThreadPool
in classBaseExecutorServiceManager
-
newCachedThreadPool
public ExecutorService newCachedThreadPool(Object source, String name)
- Specified by:
newCachedThreadPool
in interfaceorg.apache.camel.spi.ExecutorServiceManager
- Overrides:
newCachedThreadPool
in classBaseExecutorServiceManager
-
newScheduledThreadPool
public ScheduledExecutorService newScheduledThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)
- Specified by:
newScheduledThreadPool
in interfaceorg.apache.camel.spi.ExecutorServiceManager
- Overrides:
newScheduledThreadPool
in classBaseExecutorServiceManager
-
-