SmallMaterializedSnapshot
data class SmallMaterializedSnapshot<S : Any>(val version: Int, val firstEventTime: Long, val state: S) : Version, FirstEventTimeCapable, IMaterializedSnapshot<S>
Represents a simplified materialized snapshot with generic state. This data class implements multiple interfaces to provide version, materialization, first event time, and state information.
Parameters
version
The version of the snapshot, used to indicate the version of the state.
firstEventTime
The timestamp of the first event, used to record when the state was first changed.
state
The current state, with a generic type.