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 {Cassandra::LoadBalancing::Policy#plan}

implementations don't need to extend this class, only implement its
methods. This class exists for documentation purposes only.

Public Instance Methods

has_next?() click to toggle source

@return [Boolean] whether the plan contains any more hosts

   # File lib/cassandra/load_balancing.rb
97 def has_next?
98 end
next() click to toggle source

@return [Cql::Host] next host to try

    # File lib/cassandra/load_balancing.rb
101 def next
102 end