public interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> extends GenericFutureListener<F>
限定符和类型 | 方法和说明 |
---|---|
void |
operationProgressed(F future,
long progress,
long total)
Invoked when the operation has progressed.
|
operationComplete
void operationProgressed(F future, long progress, long total) throws java.lang.Exception
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.java.lang.Exception