public abstract class RxEventLoopProvider
extends java.lang.Object
EventLoopGroup to be used for RxNetty's clients and servers when they are not
provided explicitly.| Constructor and Description |
|---|
RxEventLoopProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract io.netty.channel.EventLoopGroup |
globalClientEventLoop()
The
EventLoopGroup to be used by all RxClient instances if it is not explicitly provided using
AbstractClientBuilder.eventloop(EventLoopGroup). |
abstract io.netty.channel.EventLoopGroup |
globalClientEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all RxClient instances if it is not explicitly provided using
AbstractClientBuilder.eventloop(EventLoopGroup). |
abstract io.netty.channel.EventLoopGroup |
globalServerEventLoop()
The
EventLoopGroup to be used by all RxServer instances if it is not explicitly provided using
AbstractServerBuilder.eventLoop(EventLoopGroup) or ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup) . |
abstract io.netty.channel.EventLoopGroup |
globalServerEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all RxServer instances if it is not explicitly provided using
AbstractServerBuilder.eventLoop(EventLoopGroup) or ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup) . |
abstract io.netty.channel.EventLoopGroup |
globalServerParentEventLoop()
The
EventLoopGroup to be used by all RxServer instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided using AbstractServerBuilder.eventLoop(EventLoopGroup) or
ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup). |
abstract io.netty.channel.EventLoopGroup |
globalServerParentEventLoop(boolean nativeTransport)
The
EventLoopGroup to be used by all RxServer instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided using AbstractServerBuilder.eventLoop(EventLoopGroup) or
ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup). |
public abstract io.netty.channel.EventLoopGroup globalClientEventLoop()
EventLoopGroup to be used by all RxClient instances if it is not explicitly provided using
AbstractClientBuilder.eventloop(EventLoopGroup).EventLoopGroup to be used for all clients.public abstract io.netty.channel.EventLoopGroup globalServerEventLoop()
EventLoopGroup to be used by all RxServer instances if it is not explicitly provided using
AbstractServerBuilder.eventLoop(EventLoopGroup) or ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup) .EventLoopGroup to be used for all servers.public abstract io.netty.channel.EventLoopGroup globalServerParentEventLoop()
EventLoopGroup to be used by all RxServer instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided using AbstractServerBuilder.eventLoop(EventLoopGroup) or
ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup).EventLoopGroup to be used for all servers.public abstract io.netty.channel.EventLoopGroup globalClientEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all RxClient instances if it is not explicitly provided using
AbstractClientBuilder.eventloop(EventLoopGroup).nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all client. If nativeTransport was true then
return the EventLoopGroup for native transport.public abstract io.netty.channel.EventLoopGroup globalServerEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all RxServer instances if it is not explicitly provided using
AbstractServerBuilder.eventLoop(EventLoopGroup) or ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup) .nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all servers. If nativeTransport was true then
return the EventLoopGroup for native transport. *public abstract io.netty.channel.EventLoopGroup globalServerParentEventLoop(boolean nativeTransport)
EventLoopGroup to be used by all RxServer instances as a parent eventloop group
(First argument to this method: ServerBootstrap.group(EventLoopGroup, EventLoopGroup)),
if it is not explicitly provided using AbstractServerBuilder.eventLoop(EventLoopGroup) or
ConnectionBasedServerBuilder.eventLoops(EventLoopGroup, EventLoopGroup).nativeTransport - true If the eventloop for native transport is to be returned (if configured)EventLoopGroup to be used for all servers. If nativeTransport was true then
return the EventLoopGroup for native transport.