Package com.oracle.coherence.grpc.proxy
Class DaemonPoolExecutor
java.lang.Object
com.oracle.coherence.grpc.SimpleDaemonPoolExecutor
com.oracle.coherence.grpc.proxy.DaemonPoolExecutor
- All Implemented Interfaces:
- ClassLoaderAware,- Controllable,- Executor
An 
Executor that uses a DaemonPool to execute tasks.
 
 Instances of DaemonPoolExecutor are created with a DaemonPool
 that is stopped. The executor should be started by calling the SimpleDaemonPoolExecutor.start()
 method.
 
Tasks submitted without calling start will be executed immediately on the calling thread.
 If a tracing Span is available when tasks are added to this executor then
 the span will be re-activated when the tasks are run.
- Since:
- 20.06
- Author:
- Jonathan Knight 2019.11.19
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classDaemon pool metrics and management.
- 
Field SummaryFields inherited from class com.oracle.coherence.grpc.SimpleDaemonPoolExecutorf_pool
- 
Constructor SummaryConstructorsConstructorDescriptionDaemonPoolExecutor(com.tangosol.internal.util.DaemonPool pool) Create aDaemonPoolExecutor.
- 
Method SummaryModifier and TypeMethodDescriptionReturn aDaemonPoolExecutor.DaemonPoolManagementto manage this executor.static DaemonPoolExecutornewInstance(com.tangosol.internal.util.DefaultDaemonPoolDependencies deps) Create aDaemonPoolExecutor.Methods inherited from class com.oracle.coherence.grpc.SimpleDaemonPoolExecutorconfigure, execute, getContextClassLoader, getPool, isRunning, isStuck, setContextClassLoader, shutdown, start, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.io.ClassLoaderAwaregetContextClassLoader, setContextClassLoader
- 
Constructor Details- 
DaemonPoolExecutorpublic DaemonPoolExecutor(com.tangosol.internal.util.DaemonPool pool) Create aDaemonPoolExecutor.- Parameters:
- pool- the- DaemonPoolto use
 
 
- 
- 
Method Details- 
newInstancepublic static DaemonPoolExecutor newInstance(com.tangosol.internal.util.DefaultDaemonPoolDependencies deps) Create aDaemonPoolExecutor.- Parameters:
- deps- the configuration of the- DaemonPool
- Returns:
- a DaemonPoolExecutor
 
- 
getManagementReturn aDaemonPoolExecutor.DaemonPoolManagementto manage this executor.- Returns:
- a DaemonPoolExecutor.DaemonPoolManagementto manage this executor
 
 
-