public interface ChannelFutureProgressListener extends ChannelFutureListener
ChannelFutureof an I/O operation that supports progress notification, the listener's
operationProgressed(ChannelFuture, long, long, long)method will be called back by an I/O thread. If the operation does not support progress notification,
operationProgressed(ChannelFuture, long, long, long)will not be invoked. Like a usual
ChannelFutureListenerthat this interface extends,
ChannelFutureListener.operationComplete(ChannelFuture)will be called when the future is marked as complete.
operationProgressed(ChannelFuture, long, long, long)and
ChannelFutureListener.operationComplete(ChannelFuture)is directly called by an I/O thread. Therefore, performing a time consuming task or a blocking operation in the handler method can cause an unexpected pause during I/O. If you need to perform a blocking operation on I/O completion, try to execute the operation in a different thread using a thread pool.
|Modifier and Type||Method and Description|
Invoked when the I/O operation associated with the
Copyright © 2008-2016 The Netty Project. All Rights Reserved.