Class SerializedExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor

    @Deprecated(since="2021-05-27")
    public class SerializedExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  SerializedExecutor.ErrorHandlingTask
      Deprecated.
      The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    • Constructor Summary

      Constructors 
      Constructor Description
      SerializedExecutor()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable task)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializedExecutor

        public SerializedExecutor()
        Deprecated.
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable task)
        Deprecated.
        Specified by:
        execute in interface java.util.concurrent.Executor