Interface DomainEvent
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
OrderPlacedEvent
Marker contract for events that describe something already decided by a
module. Events are intentionally small immutable facts so other modules can
react without reaching into the publisher's persistence model.
-
Method Summary
Modifier and TypeMethodDescriptioneventId()Stable event identifier useful for logging, tracing, and future idempotency concerns.Time at which the event fact was created.