Class SerializingExecutor

    • Constructor Detail

      • SerializingExecutor

        public SerializingExecutor​(java.util.concurrent.Executor delegate)
      • SerializingExecutor

        public SerializingExecutor()
    • Method Detail

      • getDelegate

        public final java.util.concurrent.Executor getDelegate()
      • setDelegate

        public final void setDelegate​(java.util.concurrent.Executor delegate)
      • execute

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

        public final void run()
        Specified by:
        run in interface java.lang.Runnable
      • handleFailedTask

        protected void handleFailedTask​(java.lang.Runnable task,
                                        java.lang.Throwable failure)
      • doActivate

        protected void doActivate()
                           throws java.lang.Exception
        Overrides:
        doActivate in class Lifecycle
        Throws:
        java.lang.Exception
      • doDeactivate

        protected void doDeactivate()
                             throws java.lang.Exception
        Overrides:
        doDeactivate in class Lifecycle
        Throws:
        java.lang.Exception