public interface EventLoopGroupFactory
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.EventLoopGroup |
createEventLoopGroup(Integer ioRatio)
Creates a default EventLoopGroup.
|
io.netty.channel.EventLoopGroup |
createEventLoopGroup(int threads,
Executor executor,
Integer ioRatio)
Creates an EventLoopGroup.
|
io.netty.channel.EventLoopGroup |
createEventLoopGroup(int threads,
Integer ioRatio)
Creates an EventLoopGroup.
|
io.netty.channel.EventLoopGroup |
createEventLoopGroup(int threads,
ThreadFactory threadFactory,
Integer ioRatio)
Creates an EventLoopGroup.
|
Class<? extends io.netty.channel.socket.ServerSocketChannel> |
serverSocketChannelClass()
Returns the server channel class.
|
io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
Executor executor,
@Nullable
Integer ioRatio)
threads - The number of threads to use.executor - An Executor.ioRatio - The io ratio.io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
@Nullable
Integer ioRatio)
threads - The number of threads to use.ioRatio - The io ratio.io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
ThreadFactory threadFactory,
@Nullable
Integer ioRatio)
threads - The number of threads to use.threadFactory - The thread factory.ioRatio - The io ratio.io.netty.channel.EventLoopGroup createEventLoopGroup(@Nullable Integer ioRatio)
ioRatio - The io ratio.Class<? extends io.netty.channel.socket.ServerSocketChannel> serverSocketChannelClass()