Interface GenericFutureListener<F extends Future<?>>

All Superinterfaces:
EventListener
All Known Subinterfaces:
ChannelFutureListener, ChannelGroupFutureListener, ChannelProgressiveFutureListener, FutureListener<V>, GenericProgressiveFutureListener<F>
All Known Implementing Classes:
AbstractEpollStreamChannel.SpliceInChannelTask, ChannelPromiseAggregator, ChannelPromiseNotifier, DefaultHttp2ConnectionEncoder.FlowControlledBase, DefaultHttp2ConnectionEncoder.FlowControlledData, DefaultHttp2ConnectionEncoder.FlowControlledHeaders, DelegatingChannelPromiseNotifier, FixedChannelPool.AcquireListener, FixedChannelPool.AcquireTask, Http2ConnectionHandler.ClosingChannelFutureListener, PromiseAggregator, PromiseNotifier, ReferenceCountedOpenSslContext.AsyncPrivateKeyMethod.ResultCallbackListener, SpdySessionHandler.ClosingChannelFutureListener, UnaryPromiseNotifier, WriteTimeoutHandler.WriteTimeoutTask

public interface GenericFutureListener<F extends Future<?>> extends EventListener
Listens to the result of a Future. The result of the asynchronous operation is notified once this listener is added by calling Future.addListener(GenericFutureListener).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the operation associated with the Future has been completed.
  • Method Details

    • operationComplete

      void operationComplete(F future) throws Exception
      Invoked when the operation associated with the Future has been completed.
      Parameters:
      future - the source Future which called this callback
      Throws:
      Exception