Package com.rabbitmq.client
Class SocketChannelConfigurators.Builder
- java.lang.Object
-
- com.rabbitmq.client.SocketChannelConfigurators.Builder
-
- Enclosing class:
- SocketChannelConfigurators
public static class SocketChannelConfigurators.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketChannelConfigurators.Builder
add(SocketChannelConfigurator extraConfiguration)
Add an extra configuration step.SocketChannelConfigurator
build()
Return the configuredSocketConfigurator
.SocketChannelConfigurators.Builder
defaultConfigurator()
Set default configuration.SocketChannelConfigurators.Builder
disableNagleAlgorithm()
Disable Nagle's Algorithm.
-
-
-
Method Detail
-
defaultConfigurator
public SocketChannelConfigurators.Builder defaultConfigurator()
Set default configuration.- Returns:
-
disableNagleAlgorithm
public SocketChannelConfigurators.Builder disableNagleAlgorithm()
Disable Nagle's Algorithm.- Returns:
-
add
public SocketChannelConfigurators.Builder add(SocketChannelConfigurator extraConfiguration)
Add an extra configuration step.- Parameters:
extraConfiguration
-- Returns:
-
build
public SocketChannelConfigurator build()
Return the configuredSocketConfigurator
.- Returns:
-
-