Package | Description |
---|---|
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 |
---|---|
RackAwareRoundRobinPolicy.Builder |
RackAwareRoundRobinPolicy.Builder.allowRemoteDCsForLocalConsistencyLevel()
Deprecated.
This functionality will be removed in the next major release of the driver. DC
failover shouldn't be done in the driver, which does not have the necessary context to
know what makes sense considering application semantics.
|
static RackAwareRoundRobinPolicy.Builder |
RackAwareRoundRobinPolicy.builder()
Returns a builder to create a new instance.
|
RackAwareRoundRobinPolicy.Builder |
RackAwareRoundRobinPolicy.Builder.withLocalDc(String localDc)
Sets the name of the datacenter that will be considered "local" by the policy.
|
RackAwareRoundRobinPolicy.Builder |
RackAwareRoundRobinPolicy.Builder.withLocalRack(String localRack)
Sets the name of the rack that will be considered "local" by the policy.
|
RackAwareRoundRobinPolicy.Builder |
RackAwareRoundRobinPolicy.Builder.withUsedHostsPerRemoteDc(int usedHostsPerRemoteDc)
Deprecated.
This functionality will be removed in the next major release of the driver. DC
failover shouldn't be done in the driver, which does not have the necessary context to
know what makes sense considering application semantics.
|
Copyright © 2012–2024. All rights reserved.