Class OrderedExecutor

java.lang.Object
io.atomix.utils.concurrent.OrderedExecutor
All Implemented Interfaces:
Executor

public class OrderedExecutor extends Object implements Executor
Executor that executes tasks in order on a shared thread pool.

The ordered executor behaves semantically like a single-threaded executor, but multiplexes tasks on a shared thread pool, ensuring blocked threads in the shared thread pool don't block individual ordered executors.

  • Constructor Details

    • OrderedExecutor

      public OrderedExecutor(Executor parent)
  • Method Details