Class DaemonPoolExecutor

  • All Implemented Interfaces:
    com.tangosol.io.ClassLoaderAware, com.tangosol.util.Controllable, Executor

    public class DaemonPoolExecutor
    extends SimpleDaemonPoolExecutor
    implements Executor, com.tangosol.util.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