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
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
debugEvent() |
PersistentFSM.Event<D>[] |
events() |
boolean |
full() |
scala.collection.IndexedSeq<PersistentFSM.LogEntry<S,D>> |
getLog()
Retrieve current rolling log in oldest-first order.
|
int |
logDepth() |
int |
pos() |
void |
processEvent(PersistentFSM.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, stateNames, StateTimeout, stateTimeouts, stay, stop, stop, stop, StopEvent, terminate, terminateEvent, timeoutFuture, timerGen, timers, total2pf, transform, transitionEvent, when, whenUnhandled
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandled
int logDepth()
boolean debugEvent()
debugEvent
in interface PersistentFSMBase<S,D,E>
PersistentFSM.Event<D>[] events()
java.lang.Object[] states()
int pos()
boolean full()
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()