SnapshotTimeCapable

Interface for entities that track when their state was last snapshotted.

This interface provides access to the timestamp when the aggregate's state was captured as a snapshot, which is useful for optimization in event-sourced systems.

Inheritors

Properties

Link copied to clipboard
abstract val snapshotTime: Long

The timestamp when this aggregate's state was last snapshotted, in milliseconds since the Unix epoch.