public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<java.lang.Void>
ChannelFuture
which is used to indicate the FileRegion
transfer progress限定符和类型 | 方法和说明 |
---|---|
ChannelProgressiveFuture |
addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
Adds the specified listener to this future.
|
ChannelProgressiveFuture |
addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
Adds the specified listeners to this future.
|
ChannelProgressiveFuture |
await()
Waits for this future to be completed.
|
ChannelProgressiveFuture |
awaitUninterruptibly()
Waits for this future to be completed without
interruption.
|
ChannelProgressiveFuture |
removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
Removes the first occurrence of the specified listener from this future.
|
ChannelProgressiveFuture |
removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
Removes the first occurrence for each of the listeners from this future.
|
ChannelProgressiveFuture |
sync()
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
ChannelProgressiveFuture |
syncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
channel, isVoid
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
ChannelProgressiveFuture addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
Future
addListener
在接口中 ChannelFuture
addListener
在接口中 ProgressiveFuture<java.lang.Void>
ChannelProgressiveFuture addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
Future
addListeners
在接口中 ChannelFuture
addListeners
在接口中 ProgressiveFuture<java.lang.Void>
ChannelProgressiveFuture removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
Future
removeListener
在接口中 ChannelFuture
removeListener
在接口中 ProgressiveFuture<java.lang.Void>
ChannelProgressiveFuture removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
Future
removeListeners
在接口中 ChannelFuture
removeListeners
在接口中 ProgressiveFuture<java.lang.Void>
ChannelProgressiveFuture sync() throws java.lang.InterruptedException
Future
sync
在接口中 ChannelFuture
sync
在接口中 ProgressiveFuture<java.lang.Void>
java.lang.InterruptedException
ChannelProgressiveFuture syncUninterruptibly()
Future
syncUninterruptibly
在接口中 ChannelFuture
syncUninterruptibly
在接口中 ProgressiveFuture<java.lang.Void>
ChannelProgressiveFuture await() throws java.lang.InterruptedException
Future
await
在接口中 ChannelFuture
await
在接口中 ProgressiveFuture<java.lang.Void>
java.lang.InterruptedException
- if the current thread was interruptedChannelProgressiveFuture awaitUninterruptibly()
Future
InterruptedException
and
discards it silently.awaitUninterruptibly
在接口中 ChannelFuture
awaitUninterruptibly
在接口中 ProgressiveFuture<java.lang.Void>