Package akka.cluster.sharding
Class EntityRecoveryStrategy$
- java.lang.Object
-
- akka.cluster.sharding.EntityRecoveryStrategy$
-
public class EntityRecoveryStrategy$ extends java.lang.Object
If the message is for the same entity as we are waiting for the update it will be added to its messageBuffer, which will be sent after the update has completed.If the message is for another entity that is already started (and not in progress of passivating) it will be delivered immediately.
Otherwise it will be stashed, and processed after the update has been completed.
-
-
Field Summary
Fields Modifier and Type Field Description static EntityRecoveryStrategy$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description EntityRecoveryStrategy$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityRecoveryStrategy
allStrategy()
EntityRecoveryStrategy
constantStrategy(ActorSystem actorSystem, scala.concurrent.duration.FiniteDuration frequency, int numberOfEntities)
-
-
-
Field Detail
-
MODULE$
public static final EntityRecoveryStrategy$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
allStrategy
public EntityRecoveryStrategy allStrategy()
-
constantStrategy
public EntityRecoveryStrategy constantStrategy(ActorSystem actorSystem, scala.concurrent.duration.FiniteDuration frequency, int numberOfEntities)
-
-