SnapshotReader
Value members
Abstract methods
Reads snapshot
Reads snapshot
this might involve reading from disk and/or provide the latest version available due to buffering for instance
- Value parameters:
- id
Stream id to read snapshot for
- Returns:
optional snapshot for a folded aggregate
Reads snapshot from a fast access storage or returns None if not accessible from fast storage/cache. it will always return last version of cache or None.
Reads snapshot from a fast access storage or returns None if not accessible from fast storage/cache. it will always return last version of cache or None.
- Value parameters:
- id
Stream id to read snapshot for
- Returns:
optional snapshot for a folded aggregate