软件包 | 描述 |
---|---|
io.netty.channel |
核心通道API是异步和事件驱动的各种传输(如
NIO Channel)的抽象 。
|
io.netty.util.concurrent |
并发/异步任务的实用程序类。
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelProgressivePromise
特殊 ChannelPromise ,一旦关联的字节正在传输,它将被通知。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultChannelProgressivePromise
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultProgressivePromise<V> |
Modifier and Type | Method and Description |
---|---|
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()
创建一个新的 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)
设置操作的当前进度并通知执行 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() |
Copyright © 2008–2018 The Netty Project. All rights reserved.