RoutingSnapshotStore
Routes operations to aggregate-specific stores and owns their lifecycle.
Closing the router closes every distinct registered store once.
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. RoutingSnapshotStore remains transparent because the selected leaf store owns storage metrics.