RoundRobinPolicy Methods |
The RoundRobinPolicy type exposes the following members.
Name | Description | |
---|---|---|
Distance |
Return the HostDistance for the provided host. This policy consider all nodes as local. This is generally the right thing to do in a single datacenter deployment. If you use multiple datacenter, see DCAwareRoundRobinPolicy instead. | |
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 try each known host of the cluster. Upon each call to this method, the ith host of the plans returned will cycle over all the host of the cluster in a round-robin fashion. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |