Package akka.persistence.typed.internal
Class ReplayingSnapshot$
- java.lang.Object
-
- akka.persistence.typed.internal.ReplayingSnapshot$
-
public class ReplayingSnapshot$ extends java.lang.Object
INTERNAL APISecond (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 behaviorRequestingRecoveryPermit
.
-
-
Field Summary
Fields Modifier and Type Field Description static ReplayingSnapshot$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ReplayingSnapshot$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C,E,S>
Behavior<InternalProtocol>apply(akka.persistence.typed.internal.BehaviorSetup<C,E,S> setup, boolean receivedPoisonPill)
-
-
-
Field Detail
-
MODULE$
public static final ReplayingSnapshot$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <C,E,S> Behavior<InternalProtocol> apply(akka.persistence.typed.internal.BehaviorSetup<C,E,S> setup, boolean receivedPoisonPill)
-
-