struct

Kamil::Watcher::ReconcileStats

Inherits Struct < Value < Object

Encapsulates statistics summarizing the outcome of a reconciliation sweep.

Constructors

new(indexed_count : Int32 = 0, updated_count : Int32 = 0, orphans_purged_count : Int32 = 0, unchanged_count : Int32 = 0, errors_count : Int32 = 0)

Initializes a ReconcileStats structure.

Source

Instance methods

deleted

Returns the count of deleted/purged orphan documents.

Source
deleted_count

Returns the count of deleted/purged orphan documents.

Source
errors

Returns the count of encountered errors.

Source
errors_count
Source
errors_count=(errors_count : Int32)
Source
indexed

Returns the count of newly indexed documents.

Source
indexed_count
Source
indexed_count=(indexed_count : Int32)
Source
orphans_purged_count
Source
orphans_purged_count=(orphans_purged_count : Int32)
Source
to_named_tuple

Converts statistics to a NamedTuple.

Source
unchanged

Returns the count of unchanged documents.

Source
unchanged_count
Source
unchanged_count=(unchanged_count : Int32)
Source
updated

Returns the count of updated documents.

Source
updated_count
Source
updated_count=(updated_count : Int32)
Source