Class ReplayingSnapshot$
java.lang.Object
org.apache.pekko.persistence.typed.internal.ReplayingSnapshot$
INTERNAL API
Second (of four) behavior of an EventSourcedBehavior.
In this behavior the recovery process is initiated.
We try to obtain a snapshot from the configured snapshot store,
and if it exists, we use it instead of the initial emptyState.
Once snapshot recovery is done (or no snapshot was selected),
recovery of events continues in ReplayingEvents.
See next behavior ReplayingEvents.
See previous behavior RequestingRecoveryPermit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplayingSnapshot$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<C,E, S> Behavior<InternalProtocol> apply(org.apache.pekko.persistence.typed.internal.BehaviorSetup<C, E, S> setup, boolean receivedPoisonPill)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ReplayingSnapshot$
public ReplayingSnapshot$()
-
-
Method Details
-
apply
public <C,E, Behavior<InternalProtocol> applyS> (org.apache.pekko.persistence.typed.internal.BehaviorSetup<C, E, S> setup, boolean receivedPoisonPill)
-