程序包 | 说明 |
---|---|
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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.group |
A channel registry which helps a user maintain the list of open
Channel s and perform bulk operations on them. |
io.netty.channel.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.channel.pool |
Implementations and API for
Channel pools. |
io.netty.example.socksproxy | |
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
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.
|
类和说明 |
---|
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
AbstractFuture
Abstract
Future implementation which does not allow for cancellation. |
AbstractScheduledEventExecutor
Abstract base class for
EventExecutor s that want to support scheduling. |
DefaultProgressivePromise |
DefaultPromise |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
Future
The result of an asynchronous operation.
|
GenericFutureListener
Listens to the result of a
Future . |
GenericProgressiveFutureListener |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
OrderedEventExecutor
Marker interface for
EventExecutor s that will process all submitted tasks in an ordered / serial fashion. |
ProgressiveFuture
A
Future which is used to indicate the progress of an operation. |
ProgressivePromise
Special
ProgressiveFuture which is writable. |
Promise
Special
Future which is writable. |
PromiseAggregator
已过时。
Use
PromiseCombiner
GenericFutureListener implementation which consolidates multiple Future s
into one, by listening to individual Future s and producing an aggregated result
(success/failure) when all Future s have completed. |
PromiseNotifier
GenericFutureListener implementation which takes other Promise s
and notifies them on completion. |
RejectedExecutionHandler
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor . |
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
类和说明 |
---|
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
RejectedExecutionHandler
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor . |
类和说明 |
---|
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
Future
The result of an asynchronous operation.
|
GenericFutureListener
Listens to the result of a
Future . |
类和说明 |
---|
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
类和说明 |
---|
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
AbstractScheduledEventExecutor
Abstract base class for
EventExecutor s that want to support scheduling. |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
OrderedEventExecutor
Marker interface for
EventExecutor s that will process all submitted tasks in an ordered / serial fashion. |
RejectedExecutionHandler
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor . |
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
类和说明 |
---|
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
类和说明 |
---|
Future
The result of an asynchronous operation.
|
Promise
Special
Future which is writable. |
类和说明 |
---|
Promise
Special
Future which is writable. |
类和说明 |
---|
Future
The result of an asynchronous operation.
|
Promise
Special
Future which is writable. |
类和说明 |
---|
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
类和说明 |
---|
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
AbstractFuture
Abstract
Future implementation which does not allow for cancellation. |
AbstractScheduledEventExecutor
Abstract base class for
EventExecutor s that want to support scheduling. |
CompleteFuture |
DefaultPromise |
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
EventExecutorGroup
The
EventExecutorGroup is responsible for providing the EventExecutor 's to use
via its EventExecutorGroup.next() method. |
Future
The result of an asynchronous operation.
|
FutureListener
A subtype of
GenericFutureListener that hides type parameter for convenience. |
GenericFutureListener
Listens to the result of a
Future . |
GlobalEventExecutor
Single-thread singleton
EventExecutor . |
ImmediateEventExecutor
Executes
Runnable objects in the caller's thread. |
ImmediateExecutor
Executor which execute tasks in the callers thread. |
MultithreadEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations that handles their tasks with multiple threads at
the same time. |
OrderedEventExecutor
Marker interface for
EventExecutor s that will process all submitted tasks in an ordered / serial fashion. |
ProgressiveFuture
A
Future which is used to indicate the progress of an operation. |
ProgressivePromise
Special
ProgressiveFuture which is writable. |
Promise
Special
Future which is writable. |
PromiseAggregator
已过时。
Use
PromiseCombiner
GenericFutureListener implementation which consolidates multiple Future s
into one, by listening to individual Future s and producing an aggregated result
(success/failure) when all Future s have completed. |
RejectedExecutionHandler
Similar to
RejectedExecutionHandler but specific to SingleThreadEventExecutor . |
ScheduledFuture
The result of an scheduled asynchronous operation.
|
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
ThreadProperties
Expose details for a
Thread . |
类和说明 |
---|
Promise
Special
Future which is writable. |