public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<java.lang.Void>
ChannelFuture
,用于指示FileRegion
传输进度
Modifier and Type | Method and Description |
---|---|
ChannelProgressiveFuture |
addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
将指定的侦听器添加到此将来。
|
ChannelProgressiveFuture |
addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
将指定的侦听器添加到此将来。
|
ChannelProgressiveFuture |
await()
等待这个未来的完成。
|
ChannelProgressiveFuture |
awaitUninterruptibly()
等待这个未来不中断地完成。
|
ChannelProgressiveFuture |
removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)
从此将来删除指定侦听器的第一个匹配项。
|
ChannelProgressiveFuture |
removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)
为将来的每个听众删除第一个匹配项。
|
ChannelProgressiveFuture |
sync()
等待这个未来,直到完成,并且在这个未来失败的时候重新引发失败的原因。
|
ChannelProgressiveFuture |
syncUninterruptibly()
等待这个未来,直到完成,并且在这个未来失败的时候重新引发失败的原因。
|
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
- 如果当前线程中断
ChannelProgressiveFuture awaitUninterruptibly()
Future
InterruptedException
并以静默方式丢弃它。
awaitUninterruptibly
接口
ChannelFuture
awaitUninterruptibly
在界面
ProgressiveFuture<java.lang.Void>
Copyright © 2008–2018 The Netty Project. All rights reserved.