save

open override fun <S : Any> save(snapshot: Snapshot<S>): Mono<Void>

Saves a snapshot and collects metrics on the operation. Metrics collected include timing, success/failure rates, and tags for aggregate identification.

Return

a Mono that completes when the snapshot is saved

Parameters

S

the type of the snapshot state

snapshot

the snapshot to save