Interface StateMachineMonitor<S,E>
- Type Parameters:
S
- the type of stateE
- the type of event
- All Known Implementing Classes:
AbstractStateMachineMonitor
,BootStateMachineMonitor
,CompositeStateMachineMonitor
public interface StateMachineMonitor<S,E>
StateMachineMonitor
for various state machine monitoring events.- Author:
- Janne Valkealahti
-
Method Summary
Modifier and TypeMethodDescriptionvoid
action
(StateMachine<S, E> stateMachine, Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>> action, long duration) Notified duration of a particular action.void
transition
(StateMachine<S, E> stateMachine, Transition<S, E> transition, long duration) Notified duration of a particular transition.
-
Method Details
-
transition
Notified duration of a particular transition.- Parameters:
stateMachine
- the state machinetransition
- the transitionduration
- the transition duration
-
action
void action(StateMachine<S, E> stateMachine, Function<StateContext<S, E>, reactor.core.publisher.Mono<Void>> action, long duration) Notified duration of a particular action.- Parameters:
stateMachine
- the state machineaction
- the actionduration
- the transition duration
-