Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.pool |
Implementations and API for
Channel pools. |
io.netty.handler.ssl | |
io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
io.netty.util.internal |
Internal-use-only utilities which is not allowed to be used
outside Netty.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelProgressivePromise
Special
ChannelPromise which will be notified once the associated bytes is transferring. |
interface |
ChannelPromise
Special
ChannelFuture which is writable. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultChannelProgressivePromise
The default
ChannelProgressivePromise implementation. |
class |
DefaultChannelPromise
The default
ChannelPromise implementation. |
Modifier and Type | Method and Description |
---|---|
Future<Channel> |
FixedChannelPool.acquire(Promise<Channel> promise) |
Future<Channel> |
ChannelPool.acquire(Promise<Channel> promise)
Acquire a
Channel from this ChannelPool . |
Future<Channel> |
SimpleChannelPool.acquire(Promise<Channel> promise) |
Future<Void> |
FixedChannelPool.release(Channel channel,
Promise<Void> promise) |
Future<Void> |
ChannelPool.release(Channel channel,
Promise<Void> promise)
Release a
Channel back to this ChannelPool . |
Future<Void> |
SimpleChannelPool.release(Channel channel,
Promise<Void> promise) |
Modifier and Type | Method and Description |
---|---|
Future<Channel> |
SslHandler.renegotiate(Promise<Channel> promise)
Performs TLS renegotiation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProgressivePromise<V>
Special
ProgressiveFuture which is writable. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProgressivePromise<V> |
class |
DefaultPromise<V> |
Modifier and Type | Method and Description |
---|---|
Promise<V> |
DefaultPromise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
Promise.addListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
DefaultPromise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Promise<V> |
Promise.addListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Promise<V> |
DefaultPromise.await() |
Promise<V> |
Promise.await() |
Promise<V> |
DefaultPromise.awaitUninterruptibly() |
Promise<V> |
Promise.awaitUninterruptibly() |
<V> Promise<V> |
AbstractEventExecutor.newPromise() |
<V> Promise<V> |
EventExecutor.newPromise()
Return a new
Promise . |
<V> Promise<V> |
ImmediateEventExecutor.newPromise() |
Promise<V> |
DefaultPromise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
Promise.removeListener(GenericFutureListener<? extends Future<? super V>> listener) |
Promise<V> |
DefaultPromise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Promise<V> |
Promise.removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners) |
Promise<V> |
DefaultPromise.setFailure(Throwable cause) |
Promise<V> |
Promise.setFailure(Throwable cause)
Marks this future as a failure and notifies all
listeners.
|
Promise<V> |
DefaultPromise.setSuccess(V result) |
Promise<V> |
Promise.setSuccess(V result)
Marks this future as a success and notifies all
listeners.
|
Promise<V> |
DefaultPromise.sync() |
Promise<V> |
Promise.sync() |
Promise<V> |
DefaultPromise.syncUninterruptibly() |
Promise<V> |
Promise.syncUninterruptibly() |
Modifier and Type | Method and Description |
---|---|
PromiseAggregator<V,F> |
PromiseAggregator.add(Promise<V>... promises)
Add the given
Promise s to the aggregator. |
Constructor and Description |
---|
PromiseAggregator(Promise<Void> aggregatePromise)
|
PromiseAggregator(Promise<Void> aggregatePromise,
boolean failPending)
Creates a new instance.
|
PromiseNotifier(Promise<? super V>... promises)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void> |
PendingWrite.promise() |
Promise<Void> |
PendingWrite.recycleAndGet()
Recycle this instance and return the
Promise . |
Modifier and Type | Method and Description |
---|---|
static PendingWrite |
PendingWrite.newInstance(Object msg,
Promise<Void> promise)
Create a new empty
RecyclableArrayList instance |
Copyright © 2008-2016 The Netty Project. All Rights Reserved.