Package org.apache.pekko.actor
Interface LoggingFSM<S,D>
- All Superinterfaces:
Actor,ActorLogging,FSM<S,,D> Listeners
- All Known Implementing Classes:
AbstractLoggingFSM
Stackable trait for
pekko.actor.FSM which adds a rolling event log and
debug logging capabilities (analogous to pekko.event.LoggingReceive).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$Nested classes/interfaces inherited from interface org.apache.pekko.actor.FSM
FSM.$minus$greater$, FSM.CurrentState<S>, FSM.CurrentState$, FSM.Event<D>, FSM.Event$, FSM.Failure, FSM.Failure$, FSM.FixedDelayMode$, FSM.FixedRateMode$, FSM.LogEntry<S,D>, FSM.LogEntry$, FSM.Normal$, FSM.NullFunction$, FSM.Reason, FSM.Shutdown$, FSM.SilentState<S, D>, FSM.SingleMode$, FSM.State<S, D>, FSM.State$, FSM.StateTimeout$, FSM.StopEvent<S, D>, FSM.StopEvent$, FSM.SubscribeTransitionCallBack, FSM.SubscribeTransitionCallBack$, FSM.Timer, FSM.Timer$, FSM.TimerMode, FSM.TransformHelper, FSM.Transition<S>, FSM.Transition$, FSM.UnsubscribeTransitionCallBack, FSM.UnsubscribeTransitionCallBack$ -
Method Summary
Modifier and TypeMethodDescriptionvoidadvance()booleanvoidfull_$eq(boolean x$1) scala.collection.immutable.IndexedSeq<FSM.LogEntry<S,D>> getLog()Retrieve current rolling log in oldest-first order.intlogDepth()voidvoidpos_$eq(int x$1) voidprocessEvent(FSM.Event<D> event, Object source) voidsuper$processEvent(FSM.Event<D> event, Object source) Methods inherited from interface org.apache.pekko.actor.Actor
aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, preRestart, preStart, self, sender, supervisorStrategy, unhandledMethods inherited from interface org.apache.pekko.actor.ActorLogging
_log_$eq, logMethods inherited from interface org.apache.pekko.actor.FSM
$minus$greater, applyState, cancelTimer, currentState_$eq, Event, generation_$eq, handleEvent_$eq, handleTransition, initialize, isStateTimerActive, isTimerActive, logTermination, makeTransition, nextState_$eq, nextStateData, onTermination, onTransition, org$apache$pekko$actor$FSM$_setter_$Event_$eq, org$apache$pekko$actor$FSM$_setter_$StateTimeout_$eq, org$apache$pekko$actor$FSM$_setter_$StopEvent_$eq, postStop, processMsg, receive, register, setStateTimeout, startSingleTimer, startTimer, startTimerAtFixedRate, startTimerWithFixedDelay, startWith, startWith$default$3, stateData, stateName, StateTimeout, stay, stop, stop, stop, StopEvent, super$postStop, terminate, terminateEvent_$eq, timeoutFuture_$eq, total2pf, transform, transitionEvent_$eq, when, when$default$2, whenUnhandledMethods inherited from interface org.apache.pekko.routing.Listeners
gossip, gossip$default$2, listenerManagement, listeners, org$apache$pekko$routing$Listeners$_setter_$listeners_$eq
-
Method Details
-
advance
void advance() -
debugEvent
boolean debugEvent()- Specified by:
debugEventin interfaceFSM<S,D>
-
full_$eq
void full_$eq(boolean x$1) -
getLog
scala.collection.immutable.IndexedSeq<FSM.LogEntry<S,D>> getLog()Retrieve current rolling log in oldest-first order. The log is filled with each incoming event before processing by the user supplied state handler. The log entries are lost when this actor is restarted. -
logDepth
int logDepth() -
org$apache$pekko$actor$LoggingFSM$_setter_$debugEvent_$eq
void org$apache$pekko$actor$LoggingFSM$_setter_$debugEvent_$eq(boolean x$1) -
pos_$eq
void pos_$eq(int x$1) -
processEvent
- Specified by:
processEventin interfaceFSM<S,D>
-
super$processEvent
-