| 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.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).
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IoEventLoop
|
| Modifier and Type | Class and Description |
|---|---|
class |
MultiThreadIoEventLoopGroup
IoEventLoopGroup implementation that will handle its tasks with multiple threads. |
class |
SingleThreadIoEventLoop
IoEventLoop implementation that execute all its submitted tasks in a single thread using the provided
IoHandler. |
| Constructor and Description |
|---|
SingleThreadIoEventLoop(IoEventLoopGroup parent,
Executor executor,
IoHandler ioHandler)
Creates a new instance
|
SingleThreadIoEventLoop(IoEventLoopGroup parent,
Executor executor,
IoHandler ioHandler,
int maxPendingTasks,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
long maxTaskProcessingQuantumMs)
Creates a new instance
|
SingleThreadIoEventLoop(IoEventLoopGroup parent,
Executor executor,
IoHandler ioHandler,
Queue<Runnable> taskQueue,
Queue<Runnable> tailTaskQueue,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
Creates a new instance
|
SingleThreadIoEventLoop(IoEventLoopGroup parent,
ThreadFactory threadFactory,
IoHandler ioHandler)
Creates a new instance
|
SingleThreadIoEventLoop(IoEventLoopGroup parent,
ThreadFactory threadFactory,
IoHandler ioHandler,
int maxPendingTasks,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
long maxTaskProcessingQuantumMs)
Creates a new instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
LocalEventLoopGroup
Deprecated.
Use
MultiThreadIoEventLoopGroup with LocalIoHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
NioEventLoop
Deprecated.
Use
SingleThreadIoEventLoop with NioIoHandler |
class |
NioEventLoopGroup
Deprecated.
Use
MultiThreadIoEventLoopGroup with NioIoHandler. |
Copyright © 2008–2025 The Netty Project. All rights reserved.