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 boolean |
canEqual(Object that) |
String |
entityId() |
abstract static boolean |
equals(Object that) |
Object |
payload() |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public String entityId()
public Object payload()