Class DirectExecutor

  • All Implemented Interfaces:
    Executor

    public final class DirectExecutor
    extends Object
    implements Executor
    An Executor that runs tasks directly on the caller thread. Any exception thrown by the task is propagated back to the caller.