SocketOptions |
Configuration.getSocketOptions() |
Returns the low-level TCP configuration options used (tcpNoDelay, keepAlive, ...).
|
SocketOptions |
SocketOptions.setConnectTimeoutMillis(int connectTimeoutMillis) |
Sets the connection timeout in milliseconds.
|
SocketOptions |
SocketOptions.setKeepAlive(boolean keepAlive) |
Sets whether to enable TCP keepalive.
|
SocketOptions |
SocketOptions.setReadTimeoutMillis(int readTimeoutMillis) |
Sets the per-host read timeout in milliseconds.
|
SocketOptions |
SocketOptions.setReceiveBufferSize(int receiveBufferSize) |
Sets a hint to the size of the underlying buffers for incoming network I/O.
|
SocketOptions |
SocketOptions.setReuseAddress(boolean reuseAddress) |
Sets whether to enable reuse-address.
|
SocketOptions |
SocketOptions.setSendBufferSize(int sendBufferSize) |
Sets a hint to the size of the underlying buffers for outgoing network I/O.
|
SocketOptions |
SocketOptions.setSoLinger(int soLinger) |
Sets the linger-on-close timeout.
|
SocketOptions |
SocketOptions.setTcpNoDelay(boolean tcpNoDelay) |
Sets whether to disable Nagle's algorithm.
|