InMemorySnapshotStore
In-memory implementation of SnapshotStore for testing and development. Stores snapshots as JSON strings in a thread-safe map.
Functions
Link copied to clipboard
Gets the version of the latest snapshot for the specified aggregate. Returns UNINITIALIZED_VERSION if no snapshot exists.
Link copied to clipboard
Wraps a SnapshotStore with metrics collection capabilities. Returns a MetricSnapshotStore that collects metrics on snapshot storage operations.