public final class UnaryPromiseNotifier<T> extends 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 Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<Future<T>>
future
- the source Future
which called this callbackException
Copyright © 2008–2017 The Netty Project. All rights reserved.