Interface StateMachineReactiveLifecycle

All Known Subinterfaces:
Region<S,E>, StateMachine<S,E>, StateMachineExecutor<S,E>
All Known Implementing Classes:
AbstractPersistStateMachineHandler, AbstractSimpleState, AbstractState, AbstractStateMachine, AbstractStateMachineFactory, DistributedStateMachine, EnumState, FactoryPersistStateMachineHandler, GenericPersistStateMachineHandler, LeaderZookeeperStateMachineEnsemble, LifecycleObjectSupport, ObjectState, ObjectStateMachine, ObjectStateMachineFactory, PersistStateMachineHandler, ReactiveLifecycleManager, ReactiveStateMachineExecutor, RegionState, StateMachineEnsembleObjectSupport, StateMachineObjectSupport, StateMachineState, TimerTrigger, ZookeeperStateMachineEnsemble

public interface StateMachineReactiveLifecycle
Reactive equivalent of a Lifecycle.
Author:
Janne Valkealahti
See Also:
  • Lifecycle
  • Method Summary

    Modifier and Type
    Method
    Description
    default reactor.core.publisher.Mono<Void>
    Starts component reactively.
    default reactor.core.publisher.Mono<Void>
    Stops component reactively.
  • Method Details

    • startReactively

      default reactor.core.publisher.Mono<Void> startReactively()
      Starts component reactively.
      Returns:
      the mono for completion
    • stopReactively

      default reactor.core.publisher.Mono<Void> stopReactively()
      Stops component reactively.
      Returns:
      the mono for completion