struct Karma::Idempotency::CommittedStream

Included Modules

Defined in:

idempotency/committed_stream.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stream_id : String, mode : String, granularity : String | Nil, series_name : String | Nil, last_chunk_seq : UInt64, begin_fingerprint : String, chunk_fingerprints : Hash(UInt64, String), committed_at_unix : Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def begin_fingerprint : String #

[View source]
def chunk_fingerprints : Hash(UInt64, String) #

[View source]
def committed_at_unix : Int64 #

[View source]
def compatible_begin?(mode : String, granularity : String | Nil) : Bool #

[View source]
def compatible_chunk?(chunk_seq : UInt64, fingerprint : String, series_name : String) : Bool #

[View source]
def granularity : String | Nil #

[View source]
def last_chunk_seq : UInt64 #

[View source]
def mode : String #

[View source]
def series_name : String | Nil #

[View source]
def stream_id : String #

[View source]
def to_status(status : String) #

[View source]