Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
SSLOptions |
ProtocolOptions.getSSLOptions()
The
SSLOptions used by this cluster. |
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withSSL(SSLOptions sslOptions)
Enable the use of SSL for the created
Cluster using the provided options. |
Constructor and Description |
---|
ProtocolOptions(int port,
int protocolVersion,
SSLOptions sslOptions,
AuthProvider authProvider)
Deprecated.
This is provided for backward compatibility; use
#ProtocolOptions(int, ProtocolVersion, int, SSLOptions, AuthProvider)) instead. |
ProtocolOptions(int port,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider)
Creates a new
ProtocolOptions instance using the provided port
and SSL context. |