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 |
---|---|
DCAwareRoundRobinPolicy.Builder |
DCAwareRoundRobinPolicy.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 DCAwareRoundRobinPolicy.Builder |
DCAwareRoundRobinPolicy.builder()
Returns a builder to create a new instance.
|
DCAwareRoundRobinPolicy.Builder |
DCAwareRoundRobinPolicy.Builder.withLocalDc(String localDc)
Sets the name of the datacenter that will be considered "local" by the policy.
|
DCAwareRoundRobinPolicy.Builder |
DCAwareRoundRobinPolicy.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–2023. All rights reserved.