Package akka.actor
Interface LoggingFSM<S,D>
-
- All Superinterfaces:
Actor
,ActorLogging
,FSM<S,D>
,Listeners
- All Known Implementing Classes:
AbstractLoggingFSM
public interface LoggingFSM<S,D> extends FSM<S,D>
Stackable trait forFSM
which adds a rolling event log and debug logging capabilities (analogous toLoggingReceive
).- Since:
- 1.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$, Actor.ignoringBehavior$
-
Nested classes/interfaces inherited from interface akka.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
advance()
void
akka$actor$LoggingFSM$_setter_$debugEvent_$eq(boolean x$1)
boolean
debugEvent()
void
full_$eq(boolean x$1)
scala.collection.immutable.IndexedSeq<FSM.LogEntry<S,D>>
getLog()
Retrieve current rolling log in oldest-first order.int
logDepth()
void
pos_$eq(int x$1)
void
processEvent(FSM.Event<D> event, java.lang.Object source)
void
super$processEvent(FSM.Event<D> event, java.lang.Object source)
-
Methods inherited from interface akka.actor.Actor
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
-
Methods inherited from interface akka.actor.ActorLogging
_log_$eq, log
-
Methods inherited from interface akka.actor.FSM
$minus$greater, akka$actor$FSM$_setter_$Event_$eq, akka$actor$FSM$_setter_$StateTimeout_$eq, akka$actor$FSM$_setter_$StopEvent_$eq, applyState, cancelTimer, currentState_$eq, Event, generation_$eq, handleEvent_$eq, handleTransition, initialize, isStateTimerActive, isTimerActive, logTermination, makeTransition, nextState_$eq, nextStateData, onTermination, onTransition, postStop, processMsg, receive, register, setStateTimeout, setTimer, setTimer$default$4, 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, whenUnhandled
-
Methods inherited from interface akka.routing.Listeners
akka$routing$Listeners$_setter_$listeners_$eq, gossip, gossip$default$2, listenerManagement, listeners
-
-
-
-
Method Detail
-
advance
void advance()
-
akka$actor$LoggingFSM$_setter_$debugEvent_$eq
void akka$actor$LoggingFSM$_setter_$debugEvent_$eq(boolean x$1)
-
debugEvent
boolean debugEvent()
- Specified by:
debugEvent
in 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()
-
pos_$eq
void pos_$eq(int x$1)
-
processEvent
void processEvent(FSM.Event<D> event, java.lang.Object source)
- Specified by:
processEvent
in interfaceFSM<S,D>
-
-