Interface ClusterInfoManager

  • All Known Implementing Classes:
    FileBackedClusterInfoManager

    @Internal
    public interface ClusterInfoManager
    Manages the cluster info data.
    Since:
    9.5
    • Method Detail

      • createInitialStateIfMissing

        void createInitialStateIfMissing()
        Creates initial state of cluster info if one missing.
      • refreshBufferedClusterInfoData

        void refreshBufferedClusterInfoData()
        Refreshes the cluster info caches.
      • setLifecycle

        boolean setLifecycle​(@NotNull
                             @NotNull NodeLifecycleState lifecycle)
        Sets the NodeLifecycleState coming from the current node. Based on implementation, the node lifecycle states might be internally mapped to different cluster states or not affect the cluster state at all.
        Parameters:
        lifecycle - new lifecycle state originating from node
        Returns:
        true if the state was changed, false otherwise