Package akka.javasdk

Interface EntityContext

All Superinterfaces:
Context
All Known Subinterfaces:
EventContext, EventSourcedEntityContext, KeyValueEntityContext

public interface EntityContext extends Context
Root context for all contexts that pertain to entities, that is, things that are addressable via an entity id.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    The id of the entity that this context is for.

    Methods inherited from interface akka.javasdk.Context Link icon

    selfRegion
  • Method Details Link icon

    • entityId Link icon

      String entityId()
      The id of the entity that this context is for.
      Returns:
      The entity id.