T
- the type of the value for the option.public final class ChannelOption<T> extends Object
ChannelOptions
option for the ChannelOptions
.Modifier and Type | Field and Description |
---|---|
static ChannelOption<Boolean> |
DIRECT_BUF
If a direct buffer should be used or a regular buffer.
|
static ChannelOption<Boolean> |
SO_KEEPALIVE
|
static ChannelOption<Integer> |
SO_LINGER
|
static ChannelOption<Integer> |
SO_RCVBUF
|
static ChannelOption<Boolean> |
SO_REUSEADDR
|
static ChannelOption<Integer> |
SO_SNDBUF
|
static ChannelOption<Integer> |
SO_TIMEOUT
|
static ChannelOption<Boolean> |
TCP_NODELAY
|
Constructor and Description |
---|
ChannelOption(String name)
Creates a ChannelOption with the provided name.
|
public static final ChannelOption<Integer> SO_RCVBUF
public static final ChannelOption<Integer> SO_SNDBUF
public static final ChannelOption<Boolean> SO_KEEPALIVE
public static final ChannelOption<Integer> SO_LINGER
public static final ChannelOption<Integer> SO_TIMEOUT
public static final ChannelOption<Boolean> SO_REUSEADDR
public static final ChannelOption<Boolean> TCP_NODELAY
public static final ChannelOption<Boolean> DIRECT_BUF
ByteBuffer.allocateDirect(int)
public ChannelOption(String name)
name
- the name of the ChannelOptionCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.