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
    • Constructor Detail

      • CallbackContribution

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