Interface EventContext

All Superinterfaces:
Context, EntityContext, EventSourcedEntityContext

public interface EventContext extends EventSourcedEntityContext
Context for an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The sequence number of the current event being processed.

    Methods inherited from interface akka.javasdk.EntityContext

    entityId
  • Method Details

    • sequenceNumber

      long sequenceNumber()
      The sequence number of the current event being processed.
      Returns:
      The sequence number.