Class: Cassandra::Reconnection::Policy Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/reconnection.rb

Overview

This class is abstract.

Actual reconnection policies supplied as :reconnection_policy option to Cassandra.cluster don't need to inherit this class, only implement its methods. This class exists for documentation purposes only.

A reconnection policy

Instance Method Summary collapse

Instance Method Details

#scheduleCassandra::Reconnection::Schedule

Note:

Reconnection schedule returned from this method doesn't need to extend Schedule, only conform to its interface.

Returns a reconnection schedule

Returns:



43
44
# File 'lib/cassandra/reconnection.rb', line 43

def schedule
end