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 a
FiniteStateMachine
.- Since:
- Coherence 12.2.1
- Author:
- pfm 2013.04.17
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTransition
(S stateFrom, S stateTo) Called during a state transition immediately before aFiniteStateMachine
enters a particular state.
-
Method Details
-
onTransition
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
-