public abstract class SocketChannelConfigurators extends Object
SocketChannelConfigurator
.
Note SocketChannelConfigurator
s can be combined with
SocketChannelConfigurator.andThen(SocketChannelConfigurator)
.
Modifier and Type | Class and Description |
---|---|
static class |
SocketChannelConfigurators.Builder |
Modifier and Type | Field and Description |
---|---|
static SocketChannelConfigurator |
DEFAULT
Default
SocketChannelConfigurator that disables Nagle's algorithm. |
static SocketChannelConfigurator |
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 SocketChannelConfigurator |
defaultConfigurator()
The default
SocketChannelConfigurator that disables Nagle's algorithm. |
static SocketChannelConfigurator |
disableNagleAlgorithm()
SocketChannelConfigurator that disables Nagle's algorithm. |
public static final SocketChannelConfigurator DISABLE_NAGLE_ALGORITHM
public static final SocketChannelConfigurator DEFAULT
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurator defaultConfigurator()
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurator disableNagleAlgorithm()
SocketChannelConfigurator
that disables Nagle's algorithm.public static SocketChannelConfigurators.Builder builder()
SocketChannelConfigurator
instance.Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.