Karma::Idempotency
Constants
SNAPSHOT_FILE_NAME = "karma.idempotency.json"
Class methods
commit_stream(stream, begin_fingerprint : String, chunk_fingerprints : Hash(UInt64, String)) : CommittedStream
Sourcecommitted_stream?(stream_id : String) : CommittedStream | Nil
Sourcecommitted_stream_count
Sourcecommitted_streams
Sourceeligible?(directive) : Bool
Sourceexecute(directive, use_persisted_timestamp : Bool = false, &)
Sourcefetch_chunk(offset : UInt64 = 0_u64, limit : Int32 = Karma::Backup::SNAPSHOT_CHUNK_DEFAULT_BYTES, dump_dir = Karma.config.dump_dir)
Sourcefingerprint(directive) : String
Sourcemetrics
Sourceprune(before_unix : Int64, limit : Int32 | Nil = nil)
Sourcerecords
Sourcereset!
Sourcestore(record : Record) : Nil
Source