T - the future result type of an asynchronous operation.public abstract class CallbackContribution<T> extends Object implements FutureCallback<T>
FutureCallbacks that contribute a result
of the operation to another FutureCallback.| Constructor and Description |
|---|
CallbackContribution(FutureCallback<?> callback)
Constructs a new instance for a FutureCallback.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled() |
void |
failed(Exception ex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompletedpublic CallbackContribution(FutureCallback<?> callback)
callback - the FutureCallback, may be null.public final void failed(Exception ex)
failed in interface FutureCallback<T>public final void cancelled()
cancelled in interface FutureCallback<T>Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.