Class ReplayingEvents$
java.lang.Object
org.apache.pekko.persistence.typed.internal.ReplayingEvents$
*
INTERNAL API
Third (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 behavior ReplayingSnapshot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReplayingEvents$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, org.apache.pekko.persistence.typed.internal.ReplayingEvents.ReplayingState<S> state)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ReplayingEvents$
public ReplayingEvents$()
-
-
Method Details
-
apply
public <C,E, Behavior<InternalProtocol> applyS> (org.apache.pekko.persistence.typed.internal.BehaviorSetup<C, E, S> setup, org.apache.pekko.persistence.typed.internal.ReplayingEvents.ReplayingState<S> state)
-