Class SerializedExecutor

All Implemented Interfaces:

public class SerializedExecutor extends Object implements Executor
An executor than ensurers serial execution of submitted tasks.

Callers of this execute will never block in the executor, but they may be required to either execute the task they submit or tasks submitted by other threads whilst they are executing tasks.

This class was inspired by the public domain class NonBlockingMutexExecutor

  • Constructor Details

    • SerializedExecutor

      public SerializedExecutor()
  • Method Details