Class ClusterSharding.Passivate<M>
java.lang.Object
org.apache.pekko.cluster.sharding.typed.javadsl.ClusterSharding.Passivate<M>
- All Implemented Interfaces:
Serializable,ClusterSharding.ShardCommand,ClusterSharding.ShardCommand,scala.Equals,scala.Product
- Enclosing class:
- ClusterSharding
public static final class ClusterSharding.Passivate<M>
extends Object
implements ClusterSharding.ShardCommand, scala.Product, Serializable
The entity can request passivation by sending the
ClusterSharding.Passivate message
to the ActorRef[ShardCommand] that was passed in to the factory method
when creating the entity. Sharding will then send back the specified
stopMessage message to the entity, which is then supposed to stop
itself.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<M> ClusterSharding.Passivate<M><M> ActorRef<M>entity()booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Passivate
-
-
Method Details
-
entity
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-