Class: Flydata::Source::SyncRepair

Inherits:
Component
  • Object
show all
Defined in:
lib/flydata/source/sync_repair.rb

Class Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Flydata::Source::Component

Class Method Details

.get_oldest_available_source_posObject

Public Interface: Get oldest avilable source pos information

Called from sync:repair command to determine a master position for repair. If this returns nil, sync:repair sets any oldest source position to source pos.

Raises exception when failing to get source positions


19
20
21
# File 'lib/flydata/source/sync_repair.rb', line 19

def self.get_oldest_available_source_pos
  nil
end

.inherited(child_class) ⇒ Object


9
10
11
# File 'lib/flydata/source/sync_repair.rb', line 9

def self.inherited(child_class)
  Source.register(child_class, self)
end