程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.util.concurrent |
Benchmarks for
io.netty.util.concurrent . |
限定符和类型 | 接口和说明 |
---|---|
interface |
ChannelProgressivePromise
Special
ChannelPromise which will be notified once the associated bytes is transferring. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultChannelProgressivePromise
The default
ChannelProgressivePromise implementation. |
限定符和类型 | 类和说明 |
---|---|
class |
DefaultProgressivePromise<V> |
限定符和类型 | 方法和说明 |
---|---|
ProgressivePromise<V> |
ProgressivePromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
DefaultProgressivePromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
ProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
DefaultProgressivePromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
ProgressivePromise.await() |
ProgressivePromise<V> |
DefaultProgressivePromise.await() |
ProgressivePromise<V> |
ProgressivePromise.awaitUninterruptibly() |
ProgressivePromise<V> |
DefaultProgressivePromise.awaitUninterruptibly() |
<V> ProgressivePromise<V> |
UnorderedThreadPoolEventExecutor.newProgressivePromise() |
<V> ProgressivePromise<V> |
ImmediateEventExecutor.newProgressivePromise() |
<V> ProgressivePromise<V> |
EventExecutor.newProgressivePromise()
Create a new
ProgressivePromise . |
<V> ProgressivePromise<V> |
AbstractEventExecutor.newProgressivePromise() |
ProgressivePromise<V> |
ProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
DefaultProgressivePromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
ProgressivePromise<V> |
ProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
DefaultProgressivePromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
ProgressivePromise<V> |
ProgressivePromise.setFailure(java.lang.Throwable cause) |
ProgressivePromise<V> |
DefaultProgressivePromise.setFailure(java.lang.Throwable cause) |
ProgressivePromise<V> |
ProgressivePromise.setProgress(long progress,
long total)
Sets the current progress of the operation and notifies the listeners that implement
GenericProgressiveFutureListener . |
ProgressivePromise<V> |
DefaultProgressivePromise.setProgress(long progress,
long total) |
ProgressivePromise<V> |
ProgressivePromise.setSuccess(V result) |
ProgressivePromise<V> |
DefaultProgressivePromise.setSuccess(V result) |
ProgressivePromise<V> |
ProgressivePromise.sync() |
ProgressivePromise<V> |
DefaultProgressivePromise.sync() |
ProgressivePromise<V> |
ProgressivePromise.syncUninterruptibly() |
ProgressivePromise<V> |
DefaultProgressivePromise.syncUninterruptibly() |