Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withAddressTranslater(AddressTranslater translater)
Configures the address translater to use for the new cluster.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CloseableAddressTranslater
Extends
AddressTranslater for implementations that need to free some resources
at Cluster shutdown. |
Modifier and Type | Class and Description |
---|---|
class |
EC2MultiRegionAddressTranslater
AddressTranslater implementation for a multi-region EC2 deployment where clients are also deployed in EC2. |
class |
IdentityTranslater
The default
AddressTranslater used by the driver that do no
translation. |
Modifier and Type | Method and Description |
---|---|
static AddressTranslater |
Policies.defaultAddressTranslater()
The default address translater.
|
AddressTranslater |
Policies.getAddressTranslater()
The address translater in use.
|
Modifier and Type | Method and Description |
---|---|
Policies.Builder |
Policies.Builder.withAddressTranslater(AddressTranslater addressTranslater)
Sets the address translator.
|
Constructor and Description |
---|
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy,
AddressTranslater addressTranslater)
Deprecated.
this constructor is provided for backward compatibility.
Use
Policies.builder() instead. |
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy,
AddressTranslater addressTranslater,
SpeculativeExecutionPolicy speculativeExecutionPolicy)
Deprecated.
this constructor is provided for backward compatibility.
Use
Policies.builder() instead. |
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy,
AddressTranslater addressTranslater,
TimestampGenerator timestampGenerator)
Deprecated.
this constructor is provided for backward compatibility.
Use
Policies.builder() instead. |
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy,
AddressTranslater addressTranslater,
TimestampGenerator timestampGenerator,
SpeculativeExecutionPolicy speculativeExecutionPolicy)
Deprecated.
this constructor is exposed for backward compatibility.
Use
Policies.builder() instead. |