public final class RxNetty
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
disableEventPublishing()
Disables publishing of events for RxNetty.
|
static void |
disableNativeTransport()
A global flag to disable the effects of calling
useNativeTransportIfApplicable() |
static void |
enableEventPublishing()
Enables publishing of events for RxNetty.
|
static RxEventLoopProvider |
getRxEventLoopProvider() |
static boolean |
isEventPublishingDisabled()
Returns
true if event publishing is disabled. |
static boolean |
isUsingNativeTransport() |
static RxEventLoopProvider |
useEventLoopProvider(RxEventLoopProvider provider)
An implementation of
RxEventLoopProvider to be used by all clients and servers created after this call. |
static void |
useNativeTransportIfApplicable()
A global flag to start using netty's native protocol
if applicable for a client or server.
|
public static RxEventLoopProvider useEventLoopProvider(RxEventLoopProvider provider)
RxEventLoopProvider to be used by all clients and servers created after this call.provider - New provider to use.public static RxEventLoopProvider getRxEventLoopProvider()
public static void useNativeTransportIfApplicable()
public static void disableNativeTransport()
useNativeTransportIfApplicable()public static void enableEventPublishing()
public static void disableEventPublishing()
public static boolean isEventPublishingDisabled()
true if event publishing is disabled.true if event publishing is disabled.public static boolean isUsingNativeTransport()