Class DeferredPromiseImpl.Chain

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    DeferredPromiseImpl<T>

    private final class DeferredPromiseImpl.Chain
    extends java.lang.Object
    implements java.lang.Runnable
    A callback used to resolve the chained Promise when the Promise is resolved.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Promise<? extends T> promise  
    • Constructor Summary

      Constructors 
      Constructor Description
      Chain​(Promise<? extends T> promise)  
    • Method Summary

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

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

      • promise

        private final Promise<? extends T> promise
    • Constructor Detail

      • Chain

        Chain​(Promise<? extends T> promise)
    • Method Detail

      • run

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