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
Default
ExecutorServiceManager
.-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
newCachedThreadPool
(Object source, String name) newScheduledThreadPool
(Object source, String name, org.apache.camel.spi.ThreadPoolProfile profile) 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
Methods inherited from interface org.apache.camel.Service
build, close, init, start, stop
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
DefaultExecutorServiceManager
public DefaultExecutorServiceManager(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
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
- 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
-
forceId
-