Package io.netty.util.concurrent
Interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>>
-
- All Superinterfaces:
java.util.EventListener
,GenericFutureListener<F>
- All Known Subinterfaces:
ChannelProgressiveFutureListener
public interface GenericProgressiveFutureListener<F extends ProgressiveFuture<?>> extends GenericFutureListener<F>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
operationProgressed(F future, long progress, long total)
Invoked when the operation has progressed.-
Methods inherited from interface io.netty.util.concurrent.GenericFutureListener
operationComplete
-
-
-
-
Method Detail
-
operationProgressed
void operationProgressed(F future, long progress, long total) throws java.lang.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 whenprogress
reaches at it.-1
if the end of operation is unknown.- Throws:
java.lang.Exception
-
-