public static class TCPConstants.TuningParameters extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_TIMEOUT
Determines the timeout in milliseconds until a connection is established.
|
static String |
LST_IO_THREADS
Defines the IO threads to be used for dedicated NIO operations.
|
static String |
SND_IO_THREADS
Defines the IO threads to be used for dedicated NIO operations.
|
static String |
SO_LINGER
Sets SO_LINGER with the specified linger time in seconds.
|
static 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 String |
SOCKET_BUFFER_SIZE
Determines the size of the internal socket buffer used to buffer data
while receiving / transmitting HTTP messages.
|
static String |
STALE_CONNECTION_CHECK
Determines whether stale connection check is to be used.
|
static String |
TCP_NODELAY
Determines whether Nagle's algorithm is to be used.
|
Constructor and Description |
---|
TCPConstants.TuningParameters() |
public static final String SND_IO_THREADS
public static final String LST_IO_THREADS
public static final 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
.
public static final String TCP_NODELAY
This parameter expects a value of type Boolean
.
public static final String SOCKET_BUFFER_SIZE
This parameter expects a value of type Integer
.
public static final 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 String CONNECTION_TIMEOUT
This parameter expects a value of type Integer
.
public static final String STALE_CONNECTION_CHECK
This parameter expects a value of type Boolean
.
Copyright © 2010–2016 AdroitLogic. All rights reserved.