StoreRecovered class final

A collection's local store was found unreadable on open and rebuilt.

With CrdtRecoverySource.snapshot the last on-disk snapshot was restored; with CrdtRecoverySource.reset the store was emptied and a full re-sync from peers was triggered automatically. The unreadable file is kept at quarantinePath for inspection.

Inheritance

Constructors

StoreRecovered({required String databaseId, required String collection, required CrdtRecoverySource source, required String quarantinePath})
Creates the event.
const

Properties

collection → String
The name of the affected collection.
final
databaseId → String
The local id of the database whose store was rebuilt.
final
hashCode → int
The hash code for this object.
no setterinherited
quarantinePath → String
Where the unreadable file was moved.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → CrdtRecoverySource
Whether a snapshot was restored or the store was reset to empty.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited