Interface | Description |
---|---|
LoggingPersistentFSM<S,D,E> |
Stackable trait for
FSM which adds a rolling event log and
debug logging capabilities (analogous to LoggingReceive ). |
PersistentFSM<S extends PersistentFSM.FSMState,D,E> |
A FSM implementation with persistent state.
|
PersistentFSM.FSMState |
FSMState base trait, makes possible for simple default serialization by conversion to String
|
PersistentFSM.PersistentFsmEvent |
Base persistent event class
|
PersistentFSM.Reason |
Reason why this
FSM is shutting down. |
PersistentFSMBase<S,D,E> |
Finite State Machine actor trait.
|
Class | Description |
---|---|
AbstractPersistentFSM<S extends PersistentFSM.FSMState,D,E> |
Java API: compatible with lambda expressions
|
AbstractPersistentFSMBase<S,D,E> |
Java API: compatible with lambda expressions
|
AbstractPersistentFSMBase$ |
Java API: compatible with lambda expressions
|
AbstractPersistentLoggingFSM<S extends PersistentFSM.FSMState,D,E> |
Java API: compatible with lambda expressions
|
PersistentFSM.$minus$greater$ |
This extractor is just convenience for matching a (S, S) pair, including a
reminder what the new state is.
|
PersistentFSM.CurrentState<S> |
Message type which is sent directly to the subscribed actor in
FSM.SubscribeTransitionCallBack before sending any
FSM.Transition messages. |
PersistentFSM.CurrentState$ | |
PersistentFSM.Event<D> |
All messages sent to the
FSM will be wrapped inside an
Event , which allows pattern matching to extract both state and data. |
PersistentFSM.Event$ | |
PersistentFSM.Failure |
Signifies that the
FSM is shutting itself down because of
an error, e.g. |
PersistentFSM.Failure$ | |
PersistentFSM.LogEntry<S,D> |
Log Entry of the
LoggingFSM , can be obtained by calling getLog . |
PersistentFSM.LogEntry$ | |
PersistentFSM.Normal$ |
Default reason if calling
stop() . |
PersistentFSM.NullFunction$ |
A partial function value which does not match anything and can be used to
“reset”
whenUnhandled and onTermination handlers. |
PersistentFSM.PersistentFSMSnapshot<D> |
FSM state and data snapshot
|
PersistentFSM.PersistentFSMSnapshot$ | |
PersistentFSM.Shutdown$ |
Reason given when someone was calling
system.stop(fsm) from outside;
also applies to Stop supervision directive. |
PersistentFSM.State<S,D,E> |
This captures all of the managed state of the
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) |
PersistentFSM.State$ | |
PersistentFSM.StateChangeEvent |
Persisted on state change
|
PersistentFSM.StateChangeEvent$ | |
PersistentFSM.StateTimeout$ |
This case object is received in case of a state timeout.
|
PersistentFSM.StopEvent<S,D> |
Case class representing the state of the
FSM whithin the
onTermination block. |
PersistentFSM.StopEvent$ | |
PersistentFSM.SubscribeTransitionCallBack |
Send this to an
FSM to request first the PersistentFSM.CurrentState
and then a series of PersistentFSM.Transition updates. |
PersistentFSM.SubscribeTransitionCallBack$ | |
PersistentFSM.TimeoutMarker |
INTERNAL API
|
PersistentFSM.TimeoutMarker$ | |
PersistentFSM.Timer |
INTERNAL API
|
PersistentFSM.Timer$ | |
PersistentFSM.Transition<S> |
Message type which is used to communicate transitions between states to
all subscribed listeners (use
FSM.SubscribeTransitionCallBack ). |
PersistentFSM.Transition$ | |
PersistentFSM.UnsubscribeTransitionCallBack |
Unsubscribe from
FSM.Transition notifications which was
effected by sending the corresponding FSM.SubscribeTransitionCallBack . |
PersistentFSM.UnsubscribeTransitionCallBack$ | |
PersistentFSM$ | |
PersistentFSMBase.TransformHelper |