| 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.group |
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them. |
| io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
EventLoop
Will handle all the I/O-Operations for a
Channel once it was registered. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventLoop
Skeletal implementation of
EventLoop. |
class |
DefaultEventLoop |
class |
SingleThreadEventLoop
Abstract base class for
EventLoops that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
SingleThreadEventLoop which is used to handle OIO Channel's. |
| Modifier and Type | Method and Description |
|---|---|
<E extends EventExecutor> |
ThreadPerChannelEventLoopGroup.children() |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
DefaultChannelProgressivePromise.executor() |
EventExecutor |
DefaultChannelHandlerInvoker.executor() |
protected EventExecutor |
DefaultChannelPromise.executor() |
EventExecutor |
ChannelHandlerInvoker.executor()
Returns the
EventExecutor which is used to execute an arbitrary task. |
EventExecutor |
ChannelHandlerContext.executor()
Returns the
EventExecutor which is used to execute an arbitrary task. |
| Constructor and Description |
|---|
DefaultChannelHandlerInvoker(EventExecutor executor) |
DefaultChannelProgressivePromise(Channel channel,
EventExecutor executor)
Creates a new instance.
|
DefaultChannelPromise(Channel channel,
EventExecutor executor)
Creates a new instance.
|
| Constructor and Description |
|---|
DefaultChannelGroup(EventExecutor executor)
Creates a new group with a generated name amd the provided
EventExecutor to notify the
ChannelGroupFutures. |
DefaultChannelGroup(String name,
EventExecutor executor)
|
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
SingleThreadEventLoop implementation which register the Channel's to a
Selector and so does the multi-plexing of these in the event loop. |
| Constructor and Description |
|---|
GlobalTrafficShapingHandler(EventExecutor executor)
Create a new instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEventExecutor
Abstract base class for
EventExecutor implementations. |
class |
DefaultEventExecutor
Default
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion |
class |
GlobalEventExecutor
Single-thread singleton
EventExecutor. |
class |
ImmediateEventExecutor
AbstractEventExecutor which execute tasks in the callers thread. |
class |
SingleThreadEventExecutor
Abstract base class for
EventExecutor's that execute all its submitted tasks in a single thread. |
| Modifier and Type | Method and Description |
|---|---|
<E extends EventExecutor> |
EventExecutor.children()
Returns an unmodifiable singleton set which contains itself.
|
<E extends EventExecutor> |
EventExecutorGroup.children()
Returns the unmodifiable set of
EventExecutors managed by this EventExecutorGroup. |
<E extends EventExecutor> |
MultithreadEventExecutorGroup.children() |
<E extends EventExecutor> |
AbstractEventExecutor.children() |
| Modifier and Type | Method and Description |
|---|---|
protected EventExecutor |
DefaultPromise.executor() |
protected EventExecutor |
CompleteFuture.executor()
Return the
EventExecutor which is used by this CompleteFuture. |
protected abstract EventExecutor |
MultithreadEventExecutorGroup.newChild(Executor executor,
Object... args)
Create a new EventExecutor which will later then accessible via the
MultithreadEventExecutorGroup.next() method. |
protected EventExecutor |
DefaultEventExecutorGroup.newChild(Executor executor,
Object... args) |
EventExecutor |
EventExecutor.next()
Returns a reference to itself.
|
EventExecutor |
EventExecutorGroup.next()
Returns one of the
EventExecutors managed by this EventExecutorGroup. |
EventExecutor |
MultithreadEventExecutorGroup.next() |
EventExecutor |
AbstractEventExecutor.next() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DefaultPromise.notifyListener(EventExecutor eventExecutor,
Future<?> future,
GenericFutureListener<?> l) |
| Constructor and Description |
|---|
CompleteFuture(EventExecutor executor)
Creates a new instance.
|
DefaultProgressivePromise(EventExecutor executor)
Creates a new instance.
|
DefaultPromise(EventExecutor executor)
Creates a new instance.
|
FailedFuture(EventExecutor executor,
Throwable cause)
Creates a new instance.
|
SucceededFuture(EventExecutor executor,
V result)
Creates a new instance.
|
Copyright © 2008–2013 The Netty Project. All rights reserved.