Package com.tangosol.util.fsm
Interface FiniteStateMachineListener<S extends Enum<S>>
-
public interface FiniteStateMachineListener<S extends Enum<S>>
A FiniteStateMachineListener listens for state related events on aFiniteStateMachine
.- Since:
- Coherence 12.2.1
- Author:
- pfm 2013.04.17
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTransition(S stateFrom, S stateTo)
Called during a state transition immediately before aFiniteStateMachine
enters a particular state.
-
-
-
Method Detail
-
onTransition
void onTransition(S stateFrom, S stateTo)
Called during a state transition immediately before aFiniteStateMachine
enters a particular state.- Parameters:
stateFrom
- the state that the FiniteStateMachine is leavingstateTo
- the state that the FiniteStateMachine is entering
-
-