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 |
---|---|
abstract static R |
apply(T1 v1,
T2 v2) |
String |
entityId() |
Object |
payload() |
static String |
toString() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait