Package io.netty.util.concurrent
Class UnaryPromiseNotifier<T>
- java.lang.Object
-
- io.netty.util.concurrent.UnaryPromiseNotifier<T>
-
- All Implemented Interfaces:
FutureListener<T>,GenericFutureListener<Future<T>>,java.util.EventListener
@Deprecated public final class UnaryPromiseNotifier<T> extends java.lang.Object implements FutureListener<T>
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description UnaryPromiseNotifier(Promise<? super T> promise)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <X> voidcascadeTo(Future<X> completedFuture, Promise<? super X> promise)Deprecated.voidoperationComplete(Future<T> future)Deprecated.Invoked when the operation associated with theFuturehas been completed.
-
-
-
Method Detail
-
operationComplete
public void operationComplete(Future<T> future) throws java.lang.Exception
Deprecated.Description copied from interface:GenericFutureListenerInvoked when the operation associated with theFuturehas been completed.- Specified by:
operationCompletein interfaceGenericFutureListener<T>- Parameters:
future- the sourceFuturewhich called this callback- Throws:
java.lang.Exception
-
-