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.
|
Constructor and Description |
---|
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy,
AddressTranslater addressTranslater,
SpeculativeExecutionPolicy speculativeExecutionPolicy)
Creates a new
Policies object using the provided policies. |
Copyright © 2012–2015. All rights reserved.