public final class UnaryPromiseNotifier<T> extends java.lang.Object implements FutureListener<T>
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. |
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
Copyright © 2008–2018 The Netty Project. All rights reserved.