public interface LoggingPersistentFSM<S,D,E> extends PersistentFSMBase<S,D,E>
FSM
which adds a rolling event log and
debug logging capabilities (analogous to LoggingReceive
).
This is an EXPERIMENTAL feature and is subject to change until it has received more real world testing.
PersistentFSMBase.TransformHelper
Actor.emptyBehavior$, Actor.ignoringBehavior$
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
debugEvent() |
scala.collection.IndexedSeq<PersistentFSM.LogEntry<S,D>> |
getLog()
Retrieve current rolling log in oldest-first order.
|
int |
logDepth() |
void |
processEvent(PersistentFSM.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, stateNames, 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 PersistentFSMBase<S,D,E>
void advance()
void processEvent(PersistentFSM.Event<D> event, java.lang.Object source)
processEvent
in interface PersistentFSMBase<S,D,E>
scala.collection.IndexedSeq<PersistentFSM.LogEntry<S,D>> getLog()