Package com.rabbitmq.client
Class SocketChannelConfigurators
java.lang.Object
com.rabbitmq.client.SocketChannelConfigurators
Ready-to-use instances and builder for
SocketChannelConfigurator.
Note SocketChannelConfigurators can be combined with
SocketChannelConfigurator.andThen(SocketChannelConfigurator).
- Since:
- 5.4.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SocketChannelConfiguratorDefaultSocketChannelConfiguratorthat disables Nagle's algorithm.static final SocketChannelConfiguratorDisable Nagle's algorithm. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Builder to configure and creates aSocketChannelConfiguratorinstance.static SocketChannelConfiguratorThe defaultSocketChannelConfiguratorthat disables Nagle's algorithm.static SocketChannelConfiguratorSocketChannelConfiguratorthat disables Nagle's algorithm.
-
Field Details
-
DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm. -
DEFAULT
DefaultSocketChannelConfiguratorthat disables Nagle's algorithm.
-
-
Constructor Details
-
SocketChannelConfigurators
public SocketChannelConfigurators()
-
-
Method Details
-
defaultConfigurator
The defaultSocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
disableNagleAlgorithm
SocketChannelConfiguratorthat disables Nagle's algorithm.- Returns:
-
builder
Builder to configure and creates aSocketChannelConfiguratorinstance.- Returns:
-