Interface EventContext
- All Superinterfaces:
Context, EntityContext, EventSourcedEntityContext, MetadataContext
Context for an event.
-
Method Summary
Modifier and TypeMethodDescriptionlongThe sequence number of the current event being processed.Methods inherited from interface Context
materializerMethods inherited from interface EntityContext
entityIdMethods inherited from interface MetadataContext
metadata
-
Method Details
-
sequenceNumber
long sequenceNumber()The sequence number of the current event being processed.- Returns:
- The sequence number.
-