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 withSocketChannelConfigurators.AbstractSocketChannelConfigurator.andThen(SocketChannelConfigurator)
.- Since:
- 4.8.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SocketChannelConfigurators.AbstractSocketChannelConfigurator
static class
SocketChannelConfigurators.Builder
-
Field Summary
Fields Modifier and Type Field Description static SocketChannelConfigurators.AbstractSocketChannelConfigurator
DEFAULT
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.static SocketChannelConfigurators.AbstractSocketChannelConfigurator
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 SocketChannelConfigurators.AbstractSocketChannelConfigurator
defaultConfigurator()
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.static SocketChannelConfigurators.AbstractSocketChannelConfigurator
disableNagleAlgorithm()
SocketChannelConfigurator
that 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
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.
-
-
Method Detail
-
defaultConfigurator
public static SocketChannelConfigurators.AbstractSocketChannelConfigurator defaultConfigurator()
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
public static SocketChannelConfigurators.AbstractSocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
builder
public static SocketChannelConfigurators.Builder builder()
Builder to configure and creates aSocketChannelConfigurator
instance.- Returns:
-
-