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.State<S,D>, FSM.State$, FSM.StateTimeout$, FSM.StopEvent<S,D>, FSM.StopEvent$, FSM.SubscribeTransitionCallBack, FSM.SubscribeTransitionCallBack$, FSM.Timer$, FSM.TransformHelper, FSM.Transition<S>, FSM.Transition$, FSM.UnsubscribeTransitionCallBack, FSM.UnsubscribeTransitionCallBack$
Actor.emptyBehavior$
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
debugEvent() |
FSM.Event<D>[] |
events() |
boolean |
full() |
scala.collection.IndexedSeq<FSM.LogEntry<S,D>> |
getLog()
Retrieve current rolling log in oldest-first order.
|
int |
logDepth() |
int |
pos() |
void |
processEvent(FSM.Event<D> event,
java.lang.Object source) |
java.lang.Object[] |
states() |
applyState, cancelTimer, currentState, Event, generation, handleEvent, handleEventDefault, handleTransition, initialize, isStateTimerActive, isTimerActive, logTermination, makeTransition, nextState, nextStateData, onTermination, onTransition, postStop, processMsg, receive, register, setStateTimeout, setTimer, startWith, stateData, stateFunctions, stateName, StateTimeout, stateTimeouts, stay, stop, stop, stop, StopEvent, terminate, terminateEvent, timeoutFuture, timerGen, timers, total2pf, transform, transitionEvent, when, whenUnhandled
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, noSender, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled
gossip, listenerManagement, listeners
_log, log
int logDepth()
boolean debugEvent()
debugEvent
in interface FSM<S,D>
java.lang.Object[] states()
int pos()
boolean full()
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()