Package akka.javasdk.keyvalueentity
Interface CommandContext
- All Superinterfaces:
Context
,MetadataContext
A value based entity command context.
-
Method Summary
Methods inherited from interface akka.javasdk.MetadataContext
metadata
-
Method Details
-
commandName
String commandName()The name of the command being executed.- Returns:
- The name of the command.
-
commandId
long commandId()The id of the command being executed.- Returns:
- The id of the command.
-
entityId
String entityId()The id of the entity that this context is for.- Returns:
- The entity id.
-
tracing
Tracing tracing()Access to tracing for custom app specific tracing.
-