Snapshot

data class Snapshot<out STATE : AggregateState>(val aggregateType: String, val aggregateId: String, val version: Long, val aggregateStateSchemaVersion: AggregateStateSchemaVersion, val sourceEventOccurredAt: Instant, val sourceEventPreparedAt: Instant, val generatedAt: Instant, val state: STATE)(source)

A versioned derived state image for one aggregate stream.

Constructors

Link copied to clipboard
constructor(aggregateType: String, aggregateId: String, version: Long, aggregateStateSchemaVersion: AggregateStateSchemaVersion, sourceEventOccurredAt: Instant, sourceEventPreparedAt: Instant, generatedAt: Instant, state: STATE)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard