Package com.rabbitmq.client
Class SocketChannelConfigurators
- java.lang.Object
-
- com.rabbitmq.client.SocketChannelConfigurators
-
public abstract class SocketChannelConfigurators extends java.lang.ObjectReady-to-use instances and builder forSocketChannelConfigurator.Note
SocketChannelConfigurators can be combined withSocketChannelConfigurator.andThen(SocketChannelConfigurator).- Since:
- 5.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSocketChannelConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SocketChannelConfiguratorDEFAULTDefaultSocketChannelConfiguratorthat disables Nagle's algorithm.static SocketChannelConfiguratorDISABLE_NAGLE_ALGORITHMDisable Nagle's algorithm.
-
Constructor Summary
Constructors Constructor Description SocketChannelConfigurators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocketChannelConfigurators.Builderbuilder()Builder to configure and creates aSocketChannelConfiguratorinstance.static SocketChannelConfiguratordefaultConfigurator()The defaultSocketChannelConfiguratorthat disables Nagle's algorithm.static SocketChannelConfiguratordisableNagleAlgorithm()SocketChannelConfiguratorthat disables Nagle's algorithm.
-
-
-
Field Detail
-
DISABLE_NAGLE_ALGORITHM
public static final SocketChannelConfigurator DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm.
-
DEFAULT
public static final SocketChannelConfigurator DEFAULT
DefaultSocketChannelConfiguratorthat disables Nagle's algorithm.
-
-
Method Detail
-
defaultConfigurator
public static SocketChannelConfigurator defaultConfigurator()
The defaultSocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
public static SocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
builder
public static SocketChannelConfigurators.Builder builder()
Builder to configure and creates aSocketChannelConfiguratorinstance.- Returns:
-
-