class RoundRobin
Inherits
Includes
MonitorMixin
Methods
self.
new
Returns a new instance of RoundRobin
host_up
(host)Adds this host to rotation
host_down
(host)Removes this host from rotation
host_found
(host)Noop
host_lost
(host)Noop
distance
(host)Returns distance to host. All hosts in rotation are considered
:local
, all other hosts - :ignore
.
plan
(keyspace, statement, options)Returns a load balancing plan that rotates hosts by 1 each time a plan is requested.