Class CallbackContribution<T>

  • Type Parameters:
    T - the future result type of an asynchronous operation.
    All Implemented Interfaces:
    FutureCallback<T>

    public abstract class CallbackContribution<T>
    extends java.lang.Object
    implements FutureCallback<T>
    Abstracts implementations of FutureCallbacks that contribute a result of the operation to another FutureCallback.
    Since:
    5.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelled()  
      void failed​(java.lang.Exception ex)  
      • Methods inherited from class java.lang.Object

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

      • CallbackContribution

        public CallbackContribution​(FutureCallback<?> callback)
        Constructs a new instance for a FutureCallback.
        Parameters:
        callback - the FutureCallback, may be null.