@Internal @Singleton public class NioEventLoopGroupFactory extends java.lang.Object implements EventLoopGroupFactory
NATIVE| Constructor and Description | 
|---|
NioEventLoopGroupFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Class<? extends io.netty.channel.socket.SocketChannel> | 
clientSocketChannelClass(EventLoopGroupConfiguration configuration)
Returns the client channel class. 
 | 
io.netty.channel.socket.SocketChannel | 
clientSocketChannelInstance(EventLoopGroupConfiguration configuration)
Returns the client channel class instance. 
 | 
io.netty.channel.EventLoopGroup | 
createEventLoopGroup(int threads,
                    java.util.concurrent.Executor executor,
                    java.lang.Integer ioRatio)
Creates a NioEventLoopGroup. 
 | 
io.netty.channel.EventLoopGroup | 
createEventLoopGroup(int threads,
                    java.util.concurrent.ThreadFactory threadFactory,
                    java.lang.Integer ioRatio)
Creates a NioEventLoopGroup. 
 | 
java.lang.Class<? extends io.netty.channel.socket.ServerSocketChannel> | 
serverSocketChannelClass()
Returns the server channel class. 
 | 
io.netty.channel.socket.nio.NioServerSocketChannel | 
serverSocketChannelInstance(EventLoopGroupConfiguration configuration)
Returns the server channel class instance. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEventLoopGroup, createEventLoopGroup, isNative, serverSocketChannelClasspublic io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
                                                            java.util.concurrent.ThreadFactory threadFactory,
                                                            @Nullable
                                                            java.lang.Integer ioRatio)
createEventLoopGroup in interface EventLoopGroupFactorythreads - The number of threads to use.threadFactory - The thread factory.ioRatio - The io ratio.public io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
                                                            java.util.concurrent.Executor executor,
                                                            @Nullable
                                                            java.lang.Integer ioRatio)
createEventLoopGroup in interface EventLoopGroupFactorythreads - The number of threads to use.executor - An Executor.ioRatio - The io ratio.public java.lang.Class<? extends io.netty.channel.socket.ServerSocketChannel> serverSocketChannelClass()
serverSocketChannelClass in interface EventLoopGroupFactorypublic io.netty.channel.socket.nio.NioServerSocketChannel serverSocketChannelInstance(EventLoopGroupConfiguration configuration)
EventLoopGroupFactoryserverSocketChannelInstance in interface EventLoopGroupFactoryconfiguration - The configuration@NonNull public java.lang.Class<? extends io.netty.channel.socket.SocketChannel> clientSocketChannelClass(@Nullable EventLoopGroupConfiguration configuration)
EventLoopGroupFactoryclientSocketChannelClass in interface EventLoopGroupFactoryconfiguration - The configurationpublic io.netty.channel.socket.SocketChannel clientSocketChannelInstance(EventLoopGroupConfiguration configuration)
EventLoopGroupFactoryclientSocketChannelInstance in interface EventLoopGroupFactoryconfiguration - The configuration