Class SerializedExecutor

java.lang.Object
org.eclipse.jetty.util.thread.SerializedExecutor
All Implemented Interfaces:
Executor

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