public abstract class SocketChannelConfigurators extends Object
SocketChannelConfigurator
.
Note SocketChannelConfigurator
s can be combined with
SocketChannelConfigurators.AbstractSocketChannelConfigurator.andThen(SocketChannelConfigurator)
.
Modifier and Type | Class and Description |
---|---|
static class |
SocketChannelConfigurators.AbstractSocketChannelConfigurator |
static class |
SocketChannelConfigurators.Builder |
Modifier and Type | Field and Description |
---|---|
static SocketChannelConfigurators.AbstractSocketChannelConfigurator |
DEFAULT
Default
SocketChannelConfigurator that disables Nagle's algorithm. |
static SocketChannelConfigurators.AbstractSocketChannelConfigurator |
DISABLE_NAGLE_ALGORITHM
Disable Nagle's algorithm.
|
Constructor and Description |
---|
SocketChannelConfigurators() |
Modifier and Type | Method and Description |
---|---|
static SocketChannelConfigurators.Builder |
builder()
Builder to configure and creates a
SocketChannelConfigurator instance. |
static SocketChannelConfigurators.AbstractSocketChannelConfigurator |
defaultConfigurator()
The default
SocketChannelConfigurator that disables Nagle's algorithm. |
static SocketChannelConfigurators.AbstractSocketChannelConfigurator |
disableNagleAlgorithm()
SocketChannelConfigurator that disables Nagle's algorithm. |
public static final SocketChannelConfigurators.AbstractSocketChannelConfigurator DISABLE_NAGLE_ALGORITHM
public static final SocketChannelConfigurators.AbstractSocketChannelConfigurator DEFAULT
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurators.AbstractSocketChannelConfigurator defaultConfigurator()
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurators.AbstractSocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurators.Builder builder()
SocketChannelConfigurator
instance.Copyright © 2020 VMware, Inc. or its affiliates.. All rights reserved.