public interface EventLoopGroupFactory
| Modifier and Type | Field and Description | 
|---|---|
| static String | NATIVEQualifier used to resolve the native factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends io.netty.channel.socket.SocketChannel> | clientSocketChannelClass(EventLoopGroupConfiguration configuration)Returns the client channel class. | 
| default io.netty.channel.socket.SocketChannel | clientSocketChannelInstance(EventLoopGroupConfiguration configuration)Returns the client channel class instance. | 
| default io.netty.channel.EventLoopGroup | createEventLoopGroup(EventLoopGroupConfiguration configuration,
                    ThreadFactory threadFactory)Create an event loop group for the given configuration and thread factory. | 
| io.netty.channel.EventLoopGroup | createEventLoopGroup(int threads,
                    Executor executor,
                    Integer ioRatio)Creates an EventLoopGroup. | 
| default 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. | 
| default Class<? extends io.netty.channel.unix.ServerDomainSocketChannel> | domainServerSocketChannelClass()Returns the domain socket server channel class. | 
| default Class<? extends io.netty.channel.unix.ServerDomainSocketChannel> | domainServerSocketChannelClass(EventLoopGroupConfiguration configuration)Returns the domain socket server channel class. | 
| default io.netty.channel.ServerChannel | domainServerSocketChannelInstance(EventLoopGroupConfiguration configuration)Returns the domain socket server channel class. | 
| default boolean | isNative() | 
| Class<? extends io.netty.channel.socket.ServerSocketChannel> | serverSocketChannelClass()Returns the server channel class. | 
| default Class<? extends io.netty.channel.socket.ServerSocketChannel> | serverSocketChannelClass(EventLoopGroupConfiguration configuration)Returns the server channel class. | 
| default io.netty.channel.socket.ServerSocketChannel | serverSocketChannelInstance(EventLoopGroupConfiguration configuration)Returns the server channel class instance. | 
static final String NATIVE
default boolean isNative()
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.default io.netty.channel.EventLoopGroup createEventLoopGroup(EventLoopGroupConfiguration configuration, ThreadFactory threadFactory)
configuration - The configurationthreadFactory - The thread factoryio.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
                                                     @Nullable
                                                     ThreadFactory threadFactory,
                                                     @Nullable
                                                     Integer ioRatio)
threads - The number of threads to use.threadFactory - The thread factory.ioRatio - The io ratio.default io.netty.channel.EventLoopGroup createEventLoopGroup(int threads,
                                                             @Nullable
                                                             Integer ioRatio)
threads - The number of threads to use.ioRatio - The io ratio.@NonNull Class<? extends io.netty.channel.socket.ServerSocketChannel> serverSocketChannelClass()
@NonNull default Class<? extends io.netty.channel.unix.ServerDomainSocketChannel> domainServerSocketChannelClass() throws UnsupportedOperationException
UnsupportedOperationException - if domain sockets are not supported.@NonNull default Class<? extends io.netty.channel.socket.ServerSocketChannel> serverSocketChannelClass(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configuration@NonNull default Class<? extends io.netty.channel.unix.ServerDomainSocketChannel> domainServerSocketChannelClass(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configurationUnsupportedOperationException - if domain sockets are not supported.@NonNull default io.netty.channel.socket.ServerSocketChannel serverSocketChannelInstance(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configuration@NonNull default io.netty.channel.ServerChannel domainServerSocketChannelInstance(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configurationUnsupportedOperationException - if domain sockets are not supported.@NonNull Class<? extends io.netty.channel.socket.SocketChannel> clientSocketChannelClass(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configuration@NonNull default io.netty.channel.socket.SocketChannel clientSocketChannelInstance(@Nullable EventLoopGroupConfiguration configuration)
configuration - The configuration