Interface StateMachineMonitor<S,E>

Type Parameters:
S - the type of state
E - 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 Type
    Method
    Description
    void
    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

      void transition(StateMachine<S,E> stateMachine, Transition<S,E> transition, long duration)
      Notified duration of a particular transition.
      Parameters:
      stateMachine - the state machine
      transition - the transition
      duration - 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 machine
      action - the action
      duration - the transition duration