public final class NioChannelImplementationSelector extends Object implements NettyChannelImplementationSelector
NettyChannelImplementationSelector
implementation that prefers nio-based channel implementation.Modifier and Type | Method and Description |
---|---|
Class<? extends io.netty.channel.Channel> |
getChannelClass() |
Class<? extends io.netty.channel.ServerChannel> |
getServerChannelClass() |
io.netty.channel.EventLoopGroup |
newEventLoopGroup(int numThreads,
ThreadFactory threadFactory)
Creates a new
EventLoopGroup . |
public io.netty.channel.EventLoopGroup newEventLoopGroup(int numThreads, ThreadFactory threadFactory)
NettyChannelImplementationSelector
EventLoopGroup
.newEventLoopGroup
in interface NettyChannelImplementationSelector
numThreads
- the number of threadsthreadFactory
- the ThreadFactory
EventLoopGroup
public Class<? extends io.netty.channel.ServerChannel> getServerChannelClass()
getServerChannelClass
in interface NettyChannelImplementationSelector
public Class<? extends io.netty.channel.Channel> getChannelClass()
getChannelClass
in interface NettyChannelImplementationSelector
Copyright © 2018. All rights reserved.