abstract class Cassandra::LoadBalancing::Plan
A load balancing plan is used to determine the order of hosts for running queries, preparing statements and establishing connections.
- Abstract
- Plans returned by
LoadBalancing::Policy#plan
implementations don’t need to extend this class, only implement its methods. This class exists for documentation purposes only.
Inherits
Object
Methods
has_next?
Returns whether the plan contains any more hosts
next
Returns next host to try