Class Unpersistent
- java.lang.Object
-
- akka.persistence.testkit.internal.Unpersistent
-
public class Unpersistent extends java.lang.Object
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description Unpersistent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <Command,State>
Behavior<Command>durableState(Behavior<Command> behavior, scala.Option<State> fromState, scala.Function3<State,java.lang.Object,java.lang.String,scala.runtime.BoxedUnit> onPersist)
static <Command,Event,State>
Behavior<Command>eventSourced(Behavior<Command> behavior, scala.Option<scala.Tuple2<State,java.lang.Object>> fromStateAndSequenceNr, scala.Function3<Event,java.lang.Object,scala.collection.immutable.Set<java.lang.String>,scala.runtime.BoxedUnit> onEvent, scala.Function2<State,java.lang.Object,scala.runtime.BoxedUnit> onSnapshot)
-
-
-
Method Detail
-
eventSourced
public static <Command,Event,State> Behavior<Command> eventSourced(Behavior<Command> behavior, scala.Option<scala.Tuple2<State,java.lang.Object>> fromStateAndSequenceNr, scala.Function3<Event,java.lang.Object,scala.collection.immutable.Set<java.lang.String>,scala.runtime.BoxedUnit> onEvent, scala.Function2<State,java.lang.Object,scala.runtime.BoxedUnit> onSnapshot)
-
-