S
- the type of stateE
- the type of eventpublic class CompositeStateMachineMonitor<S,E> extends AbstractCompositeItems<StateMachineMonitor<S,E>> implements StateMachineMonitor<S,E>
StateMachineMonitor
backed by a multiple monitors.Constructor and Description |
---|
CompositeStateMachineMonitor() |
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.
|
getItems, register, setItems, unregister
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