NoOpSnapshotRepository
No-operation implementation of SnapshotRepository that does nothing. Useful for testing or when snapshots are not needed.
Properties
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 SnapshotRepository with metrics collection capabilities. Returns a MetricSnapshotRepository that collects metrics on snapshot storage operations.
Link copied to clipboard
open override fun scanAggregateId(namedAggregate: NamedAggregate, afterId: String, limit: Int): Flux<AggregateId>
Always returns empty, as this is a no-op repository.