Class DaemonPoolExecutor

java.lang.Object
com.oracle.coherence.grpc.SimpleDaemonPoolExecutor
com.oracle.coherence.grpc.proxy.DaemonPoolExecutor
All Implemented Interfaces:
ClassLoaderAware, Controllable, Executor

public class DaemonPoolExecutor extends SimpleDaemonPoolExecutor implements Executor, Controllable
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