public final class UnaryPromiseNotifier<T> extends java.lang.Object implements FutureListener<T>
构造器和说明 |
---|
UnaryPromiseNotifier(Promise<? super T> promise) |
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