handle

open override fun handle(exchange: StateEventExchange<*>): Mono<Void>

Handles a state event exchange for snapshot creation 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 handled

Parameters

exchange

the state event exchange containing the event to snapshot