Method: Flydata::Source::SourcePos#resume_pos

Defined in:
lib/flydata/source/source_pos.rb

#resume_pos(source_pos) ⇒ Object

Public Interface: Back to last known safe source pos

Returns a source position object

A source pos may not be restart-able from the very position because there may be preceding records necessary to restart the source log playback. This method returns such a ‘safe’ position from which the source log can be played back.



38
39
40
# File 'lib/flydata/source/source_pos.rb', line 38

def resume_pos(source_pos)
  raise UnsupportedSourceError,  "subclass must implement"
end