|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SocketOptions | |
---|---|
com.datastax.driver.core | The main package for the DataStax Java driver for Cassandra. |
Uses of SocketOptions in com.datastax.driver.core |
---|
Methods in com.datastax.driver.core that return SocketOptions | |
---|---|
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)
|
SocketOptions |
SocketOptions.setReceiveBufferSize(int receiveBufferSize)
|
SocketOptions |
SocketOptions.setReuseAddress(boolean reuseAddress)
|
SocketOptions |
SocketOptions.setSendBufferSize(int sendBufferSize)
|
SocketOptions |
SocketOptions.setSoLinger(int soLinger)
|
SocketOptions |
SocketOptions.setTcpNoDelay(boolean tcpNoDelay)
|
SocketOptions |
Cluster.Builder.socketOptions()
Returns the socket options used by this builder. |
Constructors in com.datastax.driver.core with parameters of type SocketOptions | |
---|---|
Configuration(Policies policies,
ProtocolOptions protocolOptions,
PoolingOptions poolingOptions,
SocketOptions socketOptions,
MetricsOptions metricsOptions)
Creates a configuration with the specified parameters. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |