Package-level declarations

Types

Link copied to clipboard

Resolved domain-operation identity attached to a command envelope. If the aggregate's committed tracker retains this identity, handling returns NoChange before invoking the decider.

Link copied to clipboard

Opaque caller-owned replay scope within a CommandIdempotencyGroup. A committed new generation replaces the keys retained for that group; generations are compared only for equality.

Link copied to clipboard
value class CommandIdempotencyGroup(val value: String)

Stable caller-owned namespace for one logical command kind and its ordered producer. Generations within a group must be delivered serially.

Link copied to clipboard
value class CommandIdempotencyKey(val value: String)

Identifies one semantic operation within a group and generation.

Link copied to clipboard

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.

Link copied to clipboard

Implemented by an aggregate's concrete idempotency event. The aggregate evolver must apply idempotency to its state tracker like any other committed domain event.