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 ObjectforceId(Object source)ExecutorServicenewCachedThreadPool(Object source, String name)ScheduledExecutorServicenewScheduledThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)ExecutorServicenewThreadPool(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:
newThreadPoolin interfaceorg.apache.camel.spi.ExecutorServiceManager- Overrides:
newThreadPoolin classBaseExecutorServiceManager
-
newCachedThreadPool
public ExecutorService newCachedThreadPool(Object source, String name)
- Specified by:
newCachedThreadPoolin interfaceorg.apache.camel.spi.ExecutorServiceManager- Overrides:
newCachedThreadPoolin classBaseExecutorServiceManager
-
newScheduledThreadPool
public ScheduledExecutorService newScheduledThreadPool(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile)
- Specified by:
newScheduledThreadPoolin interfaceorg.apache.camel.spi.ExecutorServiceManager- Overrides:
newScheduledThreadPoolin classBaseExecutorServiceManager
-
-