Package com.tangosol.util.fsm
Interface ExecutionContext
-
- All Known Implementing Classes:
NonBlockingFiniteStateMachine
public interface ExecutionContext
Provides contextual information about aFiniteStateMachine
, typically to aid in runtime decision making for actions (eg:TransitionAction
s,StateEntryAction
s and/orStateExitAction
s) andEvent
s.- Since:
- Coherence 12.2.1
- Author:
- Brian Oliver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Obtains the name of theFiniteStateMachine
that produced theExecutionContext
.long
getTransitionCount()
Obtains the number of successful transitions that have occurred on theFiniteStateMachine
thus far.
-
-
-
Method Detail
-
getName
String getName()
Obtains the name of theFiniteStateMachine
that produced theExecutionContext
.- Returns:
- the name of the
FiniteStateMachine
-
getTransitionCount
long getTransitionCount()
Obtains the number of successful transitions that have occurred on theFiniteStateMachine
thus far.- Returns:
- the number of transitions that have occurred on the
FiniteStateMachine
-
-