public interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> extends GenericFutureListener<F>
| Modifier and Type | Method and Description |
|---|---|
void |
operationProgressed(F future, long progress, long total)
在操作进行时调用。
|
operationCompletevoid operationProgressed(F future, long progress, long total) throws java.lang.Exception
progress - 到目前为止的操作进度(累计)
total - 表示progress到达时的操作结束的数字。
-1如果操作结束未知。
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.