Package com.rabbitmq.client
Class SocketChannelConfigurators
- java.lang.Object
-
- com.rabbitmq.client.SocketChannelConfigurators
-
public abstract class SocketChannelConfigurators extends Object
Ready-to-use instances and builder forSocketChannelConfigurator.Note
SocketChannelConfigurators can be combined withSocketChannelConfigurators.AbstractSocketChannelConfigurator.andThen(SocketChannelConfigurator).- Since:
- 4.8.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSocketChannelConfigurators.AbstractSocketChannelConfiguratorstatic classSocketChannelConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SocketChannelConfigurators.AbstractSocketChannelConfiguratorDEFAULTDefaultSocketChannelConfiguratorthat disables Nagle's algorithm.static SocketChannelConfigurators.AbstractSocketChannelConfiguratorDISABLE_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 SocketChannelConfigurators.AbstractSocketChannelConfiguratordefaultConfigurator()The defaultSocketChannelConfiguratorthat disables Nagle's algorithm.static SocketChannelConfigurators.AbstractSocketChannelConfiguratordisableNagleAlgorithm()SocketChannelConfiguratorthat disables Nagle's algorithm.
-
-
-
Field Detail
-
DISABLE_NAGLE_ALGORITHM
public static final SocketChannelConfigurators.AbstractSocketChannelConfigurator DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm.
-
DEFAULT
public static final SocketChannelConfigurators.AbstractSocketChannelConfigurator DEFAULT
DefaultSocketChannelConfiguratorthat disables Nagle's algorithm.
-
-
Method Detail
-
defaultConfigurator
public static SocketChannelConfigurators.AbstractSocketChannelConfigurator defaultConfigurator()
The defaultSocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
public static SocketChannelConfigurators.AbstractSocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
builder
public static SocketChannelConfigurators.Builder builder()
Builder to configure and creates aSocketChannelConfiguratorinstance.- Returns:
-
-