程序包 | 说明 |
---|---|
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.kqueue |
BSD specific transport.
|
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.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
io.netty.handler.proxy |
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
|
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.resolver |
Resolves an arbitrary string that represents the name of an endpoint into an address.
|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
io.netty.util |
Benchmarks for
io.netty.util . |
io.netty.util.concurrent |
Benchmarks for
io.netty.util.concurrent . |
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. |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
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.PromiseCombiner(EventExecutor) .
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. |
类和说明 |
---|
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. |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
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. |
类和说明 |
---|
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. |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
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 . |
类和说明 |
---|
AbstractEventExecutorGroup
Abstract base class for
EventExecutorGroup implementations. |
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. |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
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.
|
GenericFutureListener
Listens to the result of a
Future . |
Promise
Special
Future which is writable. |
类和说明 |
---|
Future
The result of an asynchronous operation.
|
类和说明 |
---|
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. |
类和说明 |
---|
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.
|
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. |
Future
The result of an asynchronous operation.
|
Promise
Special
Future which is writable. |
类和说明 |
---|
Future
The result of an asynchronous operation.
|
Promise
Special
Future which is writable. |
类和说明 |
---|
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
AbstractEventExecutor.LazyRunnable
已过时。
override
SingleThreadEventExecutor.wakesUpForTask(java.lang.Runnable) to re-create this behaviour |
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 |
DefaultEventExecutorChooserFactory
Default implementation which uses simple round-robin to choose next
EventExecutor . |
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. |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChooser s. |
EventExecutorChooserFactory.EventExecutorChooser
Chooses the next
EventExecutor to use. |
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.PromiseCombiner(EventExecutor) .
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 a scheduled asynchronous operation.
|
ScheduledFutureTaskDeadlineBenchmark.ThreadState |
ScheduleFutureTaskBenchmark.ThreadState |
SingleThreadEventExecutor
Abstract base class for
OrderedEventExecutor 's that execute all its submitted tasks in a single thread. |
ThreadProperties
Expose details for a
Thread . |
类和说明 |
---|
EventExecutor
The
EventExecutor is a special EventExecutorGroup which comes
with some handy methods to see if a Thread is executed in a event loop. |
Promise
Special
Future which is writable. |