Class SynchronousExecutor

  • All Implemented Interfaces:
    Executor

    public final class SynchronousExecutor
    extends Object
    implements Executor
    Used to mimic Executor semantics by hijacking calling thread. Must be used for Service.getExecutor() return unless a real (i.e. truely asynchronous) Executor is available.