Package com.rabbitmq.client
Class SocketChannelConfigurators
java.lang.Object
com.rabbitmq.client.SocketChannelConfigurators
Ready-to-use instances and builder for
SocketChannelConfigurator
.
Note SocketChannelConfigurator
s can be combined with
SocketChannelConfigurator.andThen(SocketChannelConfigurator)
.
- Since:
- 5.4.0
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SocketChannelConfigurator
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.static final SocketChannelConfigurator
Disable Nagle's algorithm. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Builder to configure and creates aSocketChannelConfigurator
instance.static SocketChannelConfigurator
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.static SocketChannelConfigurator
SocketChannelConfigurator
that disables Nagle's algorithm.
-
Field Details
-
DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm. -
DEFAULT
DefaultSocketChannelConfigurator
that disables Nagle's algorithm.
-
-
Constructor Details
-
SocketChannelConfigurators
public SocketChannelConfigurators()
-
-
Method Details
-
defaultConfigurator
The defaultSocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
SocketChannelConfigurator
that disables Nagle's algorithm.- Returns:
-
builder
Builder to configure and creates aSocketChannelConfigurator
instance.- Returns:
-