Java io.netty.channel.nio NioEventLoopGroup fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel.nio NioEventLoopGroup fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel.nio NioEventLoopGroup.

The text is from its open source code.

Subclass

io.netty.channel.nio.NioEventLoopGroup has subclasses.
Click this link to see all its subclasses.

Constructor

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)

Method

booleanawaitTermination(long timeout, TimeUnit unit)
intexecutorCount()
Return the number of EventExecutor this implementation uses.
booleanisShutdown()
booleanisTerminated()
Iteratoriterator()
EventLoopnext()
ScheduledFutureschedule(Runnable command, long delay, TimeUnit unit)
voidsetIoRatio(int ioRatio)
Sets the percentage of the desired amount of time spent for I/O in the child event loops.
FutureshutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
FutureshutdownGracefully()
FutureterminationFuture()