Interface Stateful<S>

All Known Subinterfaces:
Endpoint, Service
All Known Implementing Classes:
AnalyticsEndpoint, AnalyticsService, BaseEndpoint, CompositeStateful, 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
    S state()
    Returns the current state of the stateful component.
    Flux<S> states()
    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.