public final class UnaryPromiseNotifier<T> extends java.lang.Object implements FutureListener<T>
Modifier and Type | Field and Description |
---|---|
private static InternalLogger |
logger |
private Promise<? super T> |
promise |
Constructor and Description |
---|
UnaryPromiseNotifier(Promise<? super T> promise) |
Modifier and Type | Method and Description |
---|---|
static <X> void |
cascadeTo(Future<X> completedFuture,
Promise<? super X> promise) |
void |
operationComplete(Future<T> future)
Invoked when the operation associated with the
Future has been completed. |
private static final InternalLogger logger
public void operationComplete(Future<T> future) throws java.lang.Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<Future<T>>
future
- the source Future
which called this callbackjava.lang.Exception