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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventLoop |
class |
SingleThreadEventLoop
Abstract base class for
EventLoop s that execute all its submitted tasks in a single thread. |
class |
ThreadPerChannelEventLoop
Deprecated.
this will be remove in the next-major release.
|
Modifier and Type | Class and Description |
---|---|
class |
EpollEventLoop
EventLoop which uses epoll under the covers. |
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. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventExecutor
Default
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion. |
Modifier and Type | Method and Description |
---|---|
void |
RejectedExecutionHandler.rejected(Runnable task,
SingleThreadEventExecutor executor)
Called when someone tried to add a task to
SingleThreadEventExecutor but this failed due capacity
restrictions. |
Copyright © 2008–2024 The Netty Project. All rights reserved.