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.kqueue |
BSD specific transport.
|
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.
|
Constructor and Description |
---|
MultithreadEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
Object... args) |
Constructor and Description |
---|
EpollEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectStrategyFactory selectStrategyFactory) |
EpollEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectStrategyFactory selectStrategyFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
Constructor and Description |
---|
KQueueEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectStrategyFactory selectStrategyFactory) |
KQueueEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectStrategyFactory selectStrategyFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
Constructor and Description |
---|
NioEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory) |
NioEventLoopGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventExecutorChooserFactory
Default implementation which uses simple round-robin to choose next
EventExecutor . |
Constructor and Description |
---|
MultithreadEventExecutorGroup(int nThreads,
Executor executor,
EventExecutorChooserFactory chooserFactory,
Object... args)
Create a new instance.
|
Copyright © 2008–2017 The Netty Project. All rights reserved.