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 | Class and Description |
---|---|
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)
Creates a new
Policies object using the provided policies. |
Copyright © 2014. All rights reserved.