Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Unpersistent

        public Unpersistent()
    • 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)
      • durableState

        public 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)