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.
|
Constructor and Description |
---|
DefaultEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory) |
MultithreadEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory,
Object... args) |
Constructor and Description |
---|
EpollEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory) |
EpollEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory,
int maxEventsAtOnce)
|
Constructor and Description |
---|
NioEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory)
Create a new instance that uses the the
SelectorProvider which is returned by
SelectorProvider.provider() . |
NioEventLoopGroup(int nEventLoops,
ExecutorServiceFactory executorServiceFactory,
SelectorProvider selectorProvider) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultExecutorServiceFactory
An implementation of an
ExecutorServiceFactory that creates a new ForkJoinPool on each
call to DefaultExecutorServiceFactory.newExecutorService(int) . |
Constructor and Description |
---|
DefaultEventExecutorGroup(int nEventExecutors,
ExecutorServiceFactory executorServiceFactory)
Create a new instance.
|
MultithreadEventExecutorGroup(int nEventExecutors,
ExecutorServiceFactory executorServiceFactory,
Object... args) |
Copyright © 2008–2015 The Netty Project. All rights reserved.