Package | Description |
---|---|
com.datastax.oss.driver.api.core.loadbalancing | |
com.datastax.oss.driver.api.core.metadata |
Modifier and Type | Method and Description |
---|---|
NodeDistance |
NodeDistanceEvaluator.evaluateDistance(Node node,
String localDc)
Evaluates the distance to apply to the given node.
|
static NodeDistance |
NodeDistance.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeDistance[] |
NodeDistance.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancingPolicy.DistanceReporter.setDistance(Node node,
NodeDistance distance) |
Modifier and Type | Method and Description |
---|---|
NodeDistance |
Node.getDistance()
The distance assigned to this node by the
LoadBalancingPolicy , that controls certain
aspects of connection management. |
Copyright © 2017–2021. All rights reserved.