Interface PersistentFSM<S extends PersistentFSM.FSMState,​D,​E>

    • Method Detail

      • org$apache$pekko$persistence$fsm$PersistentFSM$_setter_$domainEventTag_$eq

        void org$apache$pekko$persistence$fsm$PersistentFSM$_setter_$domainEventTag_$eq​(scala.reflect.ClassTag<E> x$1)
        Deprecated.
        Domain event's ClassTag Used for identifying domain events during recovery
      • super$applyState

        void super$applyState​(PersistentFSM.State<S,​D,​E> nextState)
        Deprecated.
        Persist FSM State and FSM State Data
      • domainEventClassTag

        scala.reflect.ClassTag<E> domainEventClassTag()
        Deprecated.
        Enables to pass a ClassTag of a domain event base type from the implementing class

        Returns:
        ClassTag of domain event base type
      • domainEventTag

        scala.reflect.ClassTag<E> domainEventTag()
        Deprecated.
        Domain event's ClassTag Used for identifying domain events during recovery
      • statesMap

        scala.collection.immutable.Map<java.lang.String,​S> statesMap()
        Deprecated.
        Map from state identifier to state instance
      • currentStateTimeout_$eq

        void currentStateTimeout_$eq​(scala.Option<scala.concurrent.duration.FiniteDuration> x$1)
        Deprecated.
      • applyEvent

        D applyEvent​(E domainEvent,
                     D currentData)
        Deprecated.
        Override this handler to define the action on Domain Event

        Parameters:
        domainEvent - domain event to apply
        currentData - state data of the previous state
        Returns:
        updated state data
      • onRecoveryCompleted

        void onRecoveryCompleted()
        Deprecated.
        Override this handler to define the action on recovery completion
      • saveStateSnapshot

        void saveStateSnapshot()
        Deprecated.
        Save the current state as a snapshot
      • receiveCommand

        scala.PartialFunction<java.lang.Object,​scala.runtime.BoxedUnit> receiveCommand()
        Deprecated.
        After recovery events are handled as in usual FSM actor
        Specified by:
        receiveCommand in interface Eventsourced
      • receiveRecover

        scala.PartialFunction<java.lang.Object,​scala.runtime.BoxedUnit> receiveRecover()
        Deprecated.
        Discover the latest recorded state
        Specified by:
        receiveRecover in interface Eventsourced
        See Also:
        pekko.persistence.Recovery