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
SocketChannelConfigurator
s can be combined withSocketChannelConfigurator.andThen(SocketChannelConfigurator)
.- Since:
- 5.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SocketChannelConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SocketChannelConfigurator
DEFAULT
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.static SocketChannelConfigurator
DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm.
-
Constructor Summary
Constructors Constructor Description SocketChannelConfigurators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocketChannelConfigurators.Builder
builder()
Builder to configure and creates aSocketChannelConfigurator
instance.static SocketChannelConfigurator
defaultConfigurator()
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.static SocketChannelConfigurator
disableNagleAlgorithm()
SocketChannelConfigurator
that 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
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.
-
-
Method Detail
-
defaultConfigurator
public static SocketChannelConfigurator defaultConfigurator()
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
public static SocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
builder
public static SocketChannelConfigurators.Builder builder()
Builder to configure and creates aSocketChannelConfigurator
instance.- Returns:
-
-