Package akka.persistence.typed.internal
Class ReplayingEvents$
- java.lang.Object
-
- akka.persistence.typed.internal.ReplayingEvents$
-
public class ReplayingEvents$ extends java.lang.Object
INTERNAL APIThird (of four) behavior of an EventSourcedBehavior.
In this behavior we finally start replaying events, beginning from the last applied sequence number (i.e. the one up-until-which the snapshot recovery has brought us).
Once recovery is completed, the actor becomes
Running
, stashed messages are flushed and control is given to the user's handlers to drive the actors behavior from there.See next behavior
Running
. See previous behaviorReplayingSnapshot
.
-
-
Field Summary
Fields Modifier and Type Field Description static ReplayingEvents$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ReplayingEvents$()
-
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, akka.persistence.typed.internal.ReplayingEvents.ReplayingState<S> state)
-
-
-
Field Detail
-
MODULE$
public static final ReplayingEvents$ 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, akka.persistence.typed.internal.ReplayingEvents.ReplayingState<S> state)
-
-