Interface ReactiveService

All Superinterfaces:
Reactive
All Known Implementing Classes:
TaskScheduler

public interface ReactiveService extends Reactive
This interface is for services that can be started and then stopped in the context of reactor, so it works with Promise
  • Method Details

    • start

      Promise<?> start()
      Starts this component asynchronously. Callback completes immediately if the component is already running.
    • startFuture

      default CompletableFuture<?> startFuture()
    • stop

      Promise<?> stop()
      Stops this component asynchronously. Callback completes immediately if the component is not running / already stopped.
    • stopFuture

      default CompletableFuture<?> stopFuture()