Class OrderedExecutor

  • All Implemented Interfaces:
    Executor, ArtemisExecutor

    public class OrderedExecutor
    extends ProcessorBase<Runnable>
    implements ArtemisExecutor
    An executor that always runs all tasks in order, using a delegate executor to run the tasks.
    More specifically, any call B to the execute(Runnable) method that happens-after another call A to the same method, will result in B's task running after A's.