Interface ClusterManagerInternal

All Superinterfaces:
ClusterExecutionService, ClusterManager
All Known Implementing Classes:
HazelcastClusterManager

public interface ClusterManagerInternal extends ClusterManager
Since:
9.0
  • Method Details

    • configure

      void configure(ClusterConfig config)
      Set a new cluster configuration.
      Parameters:
      config -
    • isConfigured

      boolean isConfigured()
      Returns:
      true if configure(ClusterConfig) has been called with a valid configuration, otherwise false.
    • reconfigure

      void reconfigure(ClusterConfig config) throws ClusterException
      Set a new cluster configuration and cycle the service
      Parameters:
      config -
      Throws:
      ClusterException
    • stopCluster

      void stopCluster()
      Stop the clustering service
    • startCluster

      void startCluster() throws ClusterException
      Start the clustering service
      Throws:
      ClusterException
    • getClusterInvariants

      @Nullable ClusterInvariants getClusterInvariants() throws ClusterException
      Get all attributes of the server that must be consistent between the nodes of a stable cluster. They are to be retrieved from another member in the cluster. If there are no other members currently active in the cluster, then return null.
      Returns:
      the cluster invariants of this server
      Throws:
      ClusterException - if the invariants can not be gathered for some reason