Class PromiseImpl.ToCompletionStage

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.CompletableFuture<T> completableFuture  
    • Constructor Summary

      Constructors 
      Constructor Description
      ToCompletionStage​(java.util.concurrent.CompletableFuture<T> completableFuture)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T v, java.lang.Throwable f)  
      void run()  
      • Methods inherited from class java.lang.Object

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

      • completableFuture

        private final java.util.concurrent.CompletableFuture<T> completableFuture
    • Constructor Detail

      • ToCompletionStage

        ToCompletionStage​(java.util.concurrent.CompletableFuture<T> completableFuture)
    • Method Detail

      • run

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