Interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>>

All Superinterfaces:
EventListener, GenericFutureListener<F>
All Known Subinterfaces:
ChannelProgressiveFutureListener

public interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> extends GenericFutureListener<F>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    operationProgressed(F future, long progress, long total)
    Invoked when the operation has progressed.

    Methods inherited from interface GenericFutureListener

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

    • operationProgressed

      void operationProgressed(F future, long progress, long total) throws Exception
      Invoked when the operation has progressed.
      Parameters:
      progress - the progress of the operation so far (cumulative)
      total - the number that signifies the end of the operation when progress reaches at it. -1 if the end of operation is unknown.
      Throws:
      Exception