S
- the type of stateE
- the type of eventpublic interface StateMachineMonitor<S,E>
StateMachineMonitor
for various state machine monitoring events.Modifier and Type | Method and Description |
---|---|
void |
action(StateMachine<S,E> stateMachine,
java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.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.
|
void transition(StateMachine<S,E> stateMachine, Transition<S,E> transition, long duration)
stateMachine
- the state machinetransition
- the transitionduration
- the transition durationvoid action(StateMachine<S,E> stateMachine, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action, long duration)
stateMachine
- the state machineaction
- the actionduration
- the transition duration