Interface Stateful<S>

All Known Subinterfaces:
Endpoint, Service
All Known Implementing Classes:
AnalyticsEndpoint, AnalyticsService, BackupEndpoint, BackupService, BaseEndpoint, CompositeStateful, EventingEndpoint, EventingService, KeyValueEndpoint, KeyValueService, ManagerEndpoint, ManagerService, Node, QueryEndpoint, QueryService, SearchEndpoint, SearchService, SingleStateful, ViewEndpoint, ViewService

public interface Stateful<S>
Common interface for stateful components.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current state of the stateful component.
    Returns a stream of states for this component as they change.
  • Method Details

    • state

      S state()
      Returns the current state of the stateful component.
    • states

      Flux<S> states()
      Returns a stream of states for this component as they change.