@Deprecated public final class UnaryPromiseNotifier<T> extends java.lang.Object implements FutureListener<T>
构造器和说明 |
---|
UnaryPromiseNotifier(Promise<? super T> promise)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 GenericFutureListener<Future<T>>
future
- the source Future
which called this callbackjava.lang.Exception