SnapshotStore
Stores disposable aggregate-state snapshots used to accelerate reconstruction. Event history remains authoritative.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun delete(aggregateId: String, aggregateStateSchemaVersion: AggregateStateSchemaVersion)
Deletes every retained snapshot for one aggregate and aggregateStateSchemaVersion.
Link copied to clipboard
Deletes every snapshot for this store's aggregate type across all schema versions.
Deletes every snapshot for this store's type and aggregateStateSchemaVersion.
Link copied to clipboard
Loads the newest compatible snapshot strictly before versionExclusive.