Interface ClusterInfoService

All Known Implementing Classes:
EmptyClusterInfoService, InternalClusterInfoService
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public interface ClusterInfoService
Interface for a class used to gather information about a cluster periodically.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    <ClusterInfo> clusterInfoConsumer)
    Add a listener for new cluster information
     
  • Method Details

    • getClusterInfo

      ClusterInfo getClusterInfo()
      Returns:
      the latest cluster information
    • addListener

      default void addListener(<ClusterInfo> clusterInfoConsumer)
      Add a listener for new cluster information