DCAwareRoundRobinPolicy Methods |
The DCAwareRoundRobinPolicy type exposes the following members.
Name | Description | |
---|---|---|
Distance |
Return the HostDistance for the provided host. 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. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | ||
NewQueryPlan |
Returns the hosts to use for a new query. The returned plan will always try each known host in the local datacenter first, and then, if none of the local host is reachable, will try up to a configurable number of other host per remote datacenter. The order of the local node in the returned query plan will follow a Round-robin algorithm. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |