public final class CommandEnvelope
extends Object
implements scala.Product, scala.Serializable
PersistentEntity
are wrapped in this envelope
when sent via PersistentEntityRef
(i.e. Cluster Sharding).
Users should normally not use this class, but it is public case
for power users in case of integration with Cluster Sharding
entities that are not implemented with PersistentEntity
.
Constructor and Description |
---|
CommandEnvelope(String entityId,
Object payload) |
Modifier and Type | Method and Description |
---|---|
String |
entityId() |
Object |
payload() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait