Interface ClusterNodeManagementService

  • All Known Implementing Classes:
    DefaultClusterNodeManagementService

    public interface ClusterNodeManagementService
    Manages automatic or configured assignment of cluster node IDs. This is a global singleton.
    • Method Detail

      • getClusterID

        int getClusterID()
        Returns currently configured or acquired cluster ID.
      • isAutoDiscoveryEnabled

        boolean isAutoDiscoveryEnabled()
        Tells whether the cluster ID has been acquired automatically or not (fixedly configured in that case).
      • getClusterGroups

        java.util.Collection<java.lang.String> getClusterGroups()
      • getUpdateInterval

        long getUpdateInterval()
      • getStaleNodeTimeout

        long getStaleNodeTimeout()
      • getConfiguredClusterID

        int getConfiguredClusterID()
      • findAllNodes

        default java.util.Collection<ClusterNodeInfo> findAllNodes()