S
- the type of stateE
- the type of eventpublic abstract class AbstractStateMachineMonitor<S,E> extends java.lang.Object implements StateMachineMonitor<S,E>
StateMachineMonitor
.Constructor and Description |
---|
AbstractStateMachineMonitor() |
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.
|
public void transition(StateMachine<S,E> stateMachine, Transition<S,E> transition, long duration)
StateMachineMonitor
transition
in interface StateMachineMonitor<S,E>
stateMachine
- the state machinetransition
- the transitionduration
- the transition durationpublic void action(StateMachine<S,E> stateMachine, java.util.function.Function<StateContext<S,E>,reactor.core.publisher.Mono<java.lang.Void>> action, long duration)
StateMachineMonitor
action
in interface StateMachineMonitor<S,E>
stateMachine
- the state machineaction
- the actionduration
- the transition duration