public interface LoggingFSM<S,D> extends FSM<S,D>
FSM
which adds a rolling event log and
debug logging capabilities (analogous to LoggingReceive
).
FSM.$minus$greater$, FSM.CurrentState<S>, FSM.CurrentState$, FSM.Event<D>, FSM.Event$, FSM.Failure, FSM.Failure$, FSM.LogEntry<S,D>, FSM.LogEntry$, FSM.Normal$, FSM.NullFunction$, FSM.Reason, FSM.Shutdown$, FSM.SilentState<S,D>, FSM.State<S,D>, FSM.State$, FSM.StateTimeout$, FSM.StopEvent<S,D>, FSM.StopEvent$, FSM.SubscribeTransitionCallBack, FSM.SubscribeTransitionCallBack$, FSM.TimeoutMarker, FSM.TimeoutMarker$, FSM.Timer, FSM.Timer$, FSM.TransformHelper, FSM.Transition<S>, FSM.Transition$, FSM.UnsubscribeTransitionCallBack, FSM.UnsubscribeTransitionCallBack$
Actor.emptyBehavior$, Actor.ignoringBehavior$
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
debugEvent() |
scala.collection.IndexedSeq<FSM.LogEntry<S,D>> |
getLog()
Retrieve current rolling log in oldest-first order.
|
int |
logDepth() |
void |
processEvent(FSM.Event<D> event,
java.lang.Object source) |
applyState, cancelTimer, Event, handleTransition, initialize, isStateTimerActive, isTimerActive, logTermination, makeTransition, nextStateData, onTermination, onTransition, postStop, processMsg, receive, register, setStateTimeout, setTimer, startWith, stateData, stateName, StateTimeout, stay, stop, stop, stop, StopEvent, terminate, total2pf, transform, when, whenUnhandled
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled
gossip, listenerManagement, listeners
log
int logDepth()
boolean debugEvent()
debugEvent
in interface FSM<S,D>
void advance()
void processEvent(FSM.Event<D> event, java.lang.Object source)
processEvent
in interface FSM<S,D>
scala.collection.IndexedSeq<FSM.LogEntry<S,D>> getLog()