Sha256: 150aea6d22ab44cddb3badd3308408e5e6e92fc8d5c0d285ed16d9fe794ced0f

Contents?: true

Size: 596 Bytes

Versions: 21

Compression:

Stored size: 596 Bytes

Contents

require 'flydata/source'
require 'flydata/source/component'
require 'flydata/source/errors'

module Flydata
module Source

class SyncRepair < Component
  def self.inherited(child_class)
    Source.register(child_class, self)
  end

  # 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
  def self.get_oldest_available_source_pos
    nil
  end
end

end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
flydata-0.7.13 lib/flydata/source/sync_repair.rb