Class PromiseFactory.InlineExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor
    Enclosing class:
    PromiseFactory

    private static final class PromiseFactory.InlineExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    An Executor implementation which executes the task immediately on the thread calling the Executor.execute method.
    • Constructor Summary

      Constructors 
      Constructor Description
      InlineExecutor()  
    • Method Summary

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

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

      • InlineExecutor

        InlineExecutor()
    • Method Detail

      • execute

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