DCAwareRoundRobinPolicyDistance Method |
This policy consider nodes in the local datacenter as Local. For each remote datacenter, it considers a configurable number of hosts as Remote and the rest is Ignored.
To configure how many host in each remote datacenter is considered Remote.
Namespace: Cassandra
public HostDistance Distance( Host host )