Example usage for Java io.netty.channel.nio NioEventLoopGroup fields, constructors, methods, implement or subclass
The text is from its open source code.
NioEventLoopGroup(int nThreads) Create a new instance using the specified number of threads, ThreadFactory and the SelectorProvider which is returned by SelectorProvider#provider() . | |
NioEventLoopGroup(ThreadFactory threadFactory) Create a new instance using the default number of threads, the given ThreadFactory and the SelectorProvider which is returned by SelectorProvider#provider() . | |
NioEventLoopGroup() Create a new instance using the default number of threads, the default ThreadFactory and the SelectorProvider which is returned by SelectorProvider#provider() . | |
NioEventLoopGroup(int nThreads, ThreadFactory threadFactory) Create a new instance using the specified number of threads, the given ThreadFactory and the SelectorProvider which is returned by SelectorProvider#provider() . | |
NioEventLoopGroup(int nThreads, Executor executor) | |
NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider) Create a new instance using the specified number of threads, the given ThreadFactory and the given SelectorProvider . | |
NioEventLoopGroup(int nThreads, Executor executor, final SelectorProvider selectorProvider) | |
NioEventLoopGroup(int nThreads, ThreadFactory threadFactory, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory) | |
NioEventLoopGroup(int nThreads, Executor executor, final SelectorProvider selectorProvider, final SelectStrategyFactory selectStrategyFactory) |
boolean | awaitTermination(long timeout, TimeUnit unit) |
int | executorCount() Return the number of EventExecutor this implementation uses. |
boolean | isShutdown() |
boolean | isTerminated() |
Iterator | iterator() |
EventLoop | next() |
ScheduledFuture> | schedule(Runnable command, long delay, TimeUnit unit) |
void | setIoRatio(int ioRatio) Sets the percentage of the desired amount of time spent for I/O in the child event loops. |
Future> | shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit) |
Future> | shutdownGracefully() |
Future> | terminationFuture() |