Class Unpersistent$


  • public class Unpersistent$
    extends java.lang.Object
    INTERNAL API
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Unpersistent$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Unpersistent$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <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)  
      <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
    • Field Detail

      • MODULE$

        public static final Unpersistent$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Unpersistent$

        public Unpersistent$()
    • Method Detail

      • eventSourced

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