Class Futures.CallbackListener<V>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) FutureCallback<? super V> callback  
      (package private) java.util.concurrent.Future<V> future  
    • Method Summary

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

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

      • future

        final java.util.concurrent.Future<V> future
    • Constructor Detail

      • CallbackListener

        CallbackListener​(java.util.concurrent.Future<V> future,
                         FutureCallback<? super V> callback)
    • Method Detail

      • run

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object