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 |
---|---|
static TokenAwarePolicy.ReplicaOrdering |
TokenAwarePolicy.ReplicaOrdering.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenAwarePolicy.ReplicaOrdering[] |
TokenAwarePolicy.ReplicaOrdering.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TokenAwarePolicy(LoadBalancingPolicy childPolicy,
TokenAwarePolicy.ReplicaOrdering replicaOrdering)
Creates a new
TokenAware policy. |
Copyright © 2012–2024. All rights reserved.