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).
|
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 |
Constructor and Description |
---|
EpollEventLoopGroup(int nThreads,
SelectStrategyFactory selectStrategyFactory)
Create a new instance using the specified number of threads and the default
ThreadFactory . |
EpollEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory,
int maxEventsAtOnce,
SelectStrategyFactory selectStrategyFactory)
|
EpollEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory,
int maxEventsAtOnce,
SelectStrategyFactory selectStrategyFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
EpollEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory,
SelectStrategyFactory selectStrategyFactory)
Create a new instance using the specified number of threads and the given
ThreadFactory . |
Constructor and Description |
---|
NioEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory,
java.nio.channels.spi.SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory) |
NioEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory,
java.nio.channels.spi.SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
Copyright © 2008–2018 The Netty Project. All rights reserved.