CommandIdempotencyTracker

Idempotency identities retained in aggregate state, with up to DEFAULT_MAX_GENERATIONS active generations per group. Applying an identity accumulates same-generation keys or appends a new generation, evicting the oldest generation when exceeding the limit. Keys are checked across all retained generations for a group. Evolvers update this value from committed IdempotencyEvents.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Functions

Link copied to clipboard
fun apply(idempotency: CommandIdempotency, maxGenerations: Int = DEFAULT_MAX_GENERATIONS): CommandIdempotencyTracker
Link copied to clipboard