接口 ProgressiveFutureListener<F extends ProgressiveFuture<?>>

所有超级接口:
EventListener, FutureListener<F>

public interface ProgressiveFutureListener<F extends ProgressiveFuture<?>> extends FutureListener<F>
Listens to the result of a ProgressiveFuture.
从以下版本开始:
4.0 2024/2/26 20:48
作者:
Harry Yang
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    operationProgressed(F future, long progress, long total)
    Invoked when the operation has progressed.

    从接口继承的方法 cn.taketoday.util.concurrent.FutureListener

    operationComplete
  • 方法详细资料

    • operationProgressed

      void operationProgressed(F future, long progress, long total) throws Exception
      Invoked when the operation has progressed.
      参数:
      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.
      抛出:
      Exception