接口 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
-
方法概要
修饰符和类型方法说明voidoperationProgressed(F future, long progress, long total) Invoked when the operation has progressed.从接口继承的方法 cn.taketoday.util.concurrent.FutureListener
operationComplete
-
方法详细资料
-
operationProgressed
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 whenprogressreaches at it.-1if the end of operation is unknown.- 抛出:
Exception
-