class RoundRobinPolicy
Augments
LoadBalancingPolicy
Constructor
new
RoundRobinPolicy
()This policy yield nodes in a round-robin fashion.
Methods
Returns an iterator with the hosts to be used as coordinator for a query.
Starting with version 4.9, the Apache Software Foundation owns and maintains the NodeJS driver. For the latest version, visit github.com/apache/cassandra-nodejs-driver
LoadBalancingPolicyReturns an iterator with the hosts to be used as coordinator for a query.
| Name | Type | Description |
|---|---|---|
| keyspace | String |
Name of currently logged keyspace at |
| executionOptions |
ExecutionOptions or null
|
The information related to the execution of the request. |
| callback | function |
The function to be invoked with the error as first parameter and the host iterator as second parameter. |