State
This captures all of the managed state of the akka.actor.FSM: the state name, the state data, possibly custom timeout, stop reason, replies accumulated while processing the last message, possibly domain event and handler to be executed after FSM moves to the new state (also triggered when staying in the same state)
- Source:
- PersistentFSM.scala
Value members
Concrete methods
Register a handler to be triggered after the state has been persisted successfully
Register a handler to be triggered after the state has been persisted successfully
- Source:
- PersistentFSM.scala
Specify domain events to be applied when transitioning to the new state.
Specify domain events to be applied when transitioning to the new state.
- Source:
- PersistentFSM.scala
Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Use Duration.Inf to deactivate an existing timeout.
- Source:
- PersistentFSM.scala
Java API: Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Java API: Modify state transition descriptor to include a state timeout for the next state. This timeout overrides any default timeout set for the next state.
Use Duration.Inf to deactivate an existing timeout.
- Source:
- PersistentFSM.scala
Send reply to sender of the current message, if available.
Send reply to sender of the current message, if available.
- Returns:
this state transition descriptor
- Source:
- PersistentFSM.scala