public static class TCPConstants.TuningParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_TIMEOUT
Determines the timeout in milliseconds until a connection is established.
|
static java.lang.String |
LST_IO_THREADS
Defines the IO threads to be used for dedicated NIO operations.
|
static java.lang.String |
SND_IO_THREADS
Defines the IO threads to be used for dedicated NIO operations.
|
static java.lang.String |
SO_LINGER
Sets SO_LINGER with the specified linger time in seconds.
|
static java.lang.String |
SO_TIMEOUT
Defines the socket timeout (
SO_TIMEOUT ) in milliseconds,
which is the timeout for waiting for data or, put differently,
a maximum period inactivity between two consecutive data packets). |
static java.lang.String |
SOCKET_BUFFER_SIZE
Determines the size of the internal socket buffer used to buffer data
while receiving / transmitting HTTP messages.
|
static java.lang.String |
STALE_CONNECTION_CHECK
Determines whether stale connection check is to be used.
|
static java.lang.String |
TCP_NODELAY
Determines whether Nagle's algorithm is to be used.
|
Constructor and Description |
---|
TCPConstants.TuningParameters() |
public static final java.lang.String SND_IO_THREADS
public static final java.lang.String LST_IO_THREADS
public static final java.lang.String SO_TIMEOUT
SO_TIMEOUT
) in milliseconds,
which is the timeout for waiting for data or, put differently,
a maximum period inactivity between two consecutive data packets).
A timeout value of zero is interpreted as an infinite timeout.
This parameter expects a value of type Integer
.
SocketOptions.SO_TIMEOUT
,
Constant Field Valuespublic static final java.lang.String TCP_NODELAY
This parameter expects a value of type Boolean
.
SocketOptions.TCP_NODELAY
,
Constant Field Valuespublic static final java.lang.String SOCKET_BUFFER_SIZE
This parameter expects a value of type Integer
.
public static final java.lang.String SO_LINGER
0
implies that
the option is disabled. Value -1
implies that the JRE
default is used. The setting only affects the socket close operation.
This parameter expects a value of type Integer
.
SocketOptions.SO_LINGER
,
Constant Field Valuespublic static final java.lang.String CONNECTION_TIMEOUT
This parameter expects a value of type Integer
.
public static final java.lang.String STALE_CONNECTION_CHECK
This parameter expects a value of type Boolean
.