| 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.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSelectStrategyFactory
Factory which uses the default select strategy.
|
| Modifier and Type | Field and Description |
|---|---|
static SelectStrategyFactory |
DefaultSelectStrategyFactory.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static IoHandlerFactory |
NioIoHandler.newFactory(SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Returns a new
IoHandlerFactory that creates NioIoHandler instances. |
| Constructor and Description |
|---|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler,
EventLoopTaskQueueFactory taskQueueFactory,
EventLoopTaskQueueFactory tailTaskQueueFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
Executor executor,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
NioEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Deprecated.
|
Copyright © 2008–2025 The Netty Project. All rights reserved.