Package | Description |
---|---|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
Modifier and Type | Method and Description |
---|---|
SocketOptions |
ClientNetworkConfig.getSocketOptions() |
SocketOptions |
SocketOptions.setBufferSize(int bufferSize)
Sets the SO_SNDBUF and SO_RCVBUF options to the specified value in KB
|
SocketOptions |
SocketOptions.setKeepAlive(boolean keepAlive)
Enable/disable SO_KEEPALIVE socket option.
|
SocketOptions |
SocketOptions.setLingerSeconds(int lingerSeconds)
Enable/disable SO_LINGER with the specified linger time in seconds
If set to a value of 0 or less then it is disabled.
|
SocketOptions |
SocketOptions.setReuseAddress(boolean reuseAddress)
Enable/disable the SO_REUSEADDR socket option.
|
SocketOptions |
SocketOptions.setTcpNoDelay(boolean tcpNoDelay)
Enable/disable TCP_NODELAY socket option.
|
Modifier and Type | Method and Description |
---|---|
ClientNetworkConfig |
ClientNetworkConfig.setSocketOptions(SocketOptions socketOptions) |
Constructor and Description |
---|
SocketOptions(SocketOptions socketOptions) |
Copyright © 2020 Hazelcast, Inc.. All rights reserved.