Class: Cassandra::Reconnection::Policy Abstract
- Inherits:
-
Object
- Object
- Cassandra::Reconnection::Policy
- 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
Direct Known Subclasses
Cassandra::Reconnection::Policies::Constant, Cassandra::Reconnection::Policies::Exponential
Instance Method Summary collapse
-
#schedule ⇒ Cassandra::Reconnection::Schedule
Returns a reconnection schedule.
Instance Method Details
#schedule ⇒ Cassandra::Reconnection::Schedule
Note:
Reconnection schedule returned from this method doesn't need to extend Schedule, only conform to its interface.
Returns a reconnection schedule
43 44 |
# File 'lib/cassandra/reconnection.rb', line 43 def schedule end |