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