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>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final InternalLogger
    Deprecated.
     
    private final Promise<? super T>
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnaryPromiseNotifier(Promise<? super T> promise)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <X> void
    cascadeTo(Future<X> completedFuture, Promise<? super X> promise)
    Deprecated.
     
    void
    Deprecated.
    Invoked when the operation associated with the Future has been completed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      private static final InternalLogger logger
      Deprecated.
    • promise

      private final Promise<? super T> promise
      Deprecated.
  • Constructor Details

    • UnaryPromiseNotifier

      public UnaryPromiseNotifier(Promise<? super T> promise)
      Deprecated.
  • Method Details

    • operationComplete

      public void operationComplete(Future<T> future) throws java.lang.Exception
      Deprecated.
      Description copied from interface: GenericFutureListener
      Invoked when the operation associated with the Future has been completed.
      Specified by:
      operationComplete in interface GenericFutureListener<T>
      Parameters:
      future - the source Future which called this callback
      Throws:
      java.lang.Exception
    • cascadeTo

      public static <X> void cascadeTo(Future<X> completedFuture, Promise<? super X> promise)
      Deprecated.