Interface ClusterService

All Known Implementing Classes:
DefaultClusterService, MockClusterService

public interface ClusterService
Interface for using the cluster related service.
Since:
4.0
Spring Bean ID:
clusterService
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all cluster node groups which this instance is configured to belong to.
    int
    The current cluster id which is unique for each java process in the cluster island.
    long
    An unique string identifying the complete cluster.
    boolean
    'true' ONLY IF the correspondig property is set to 'true' AND the installed licence file supports this feature, too
  • Method Details

    • getClusterId

      int getClusterId()
      The current cluster id which is unique for each java process in the cluster island.
      Returns:
      the cluster id
    • getClusterIslandId

      long getClusterIslandId()
      An unique string identifying the complete cluster. This is identical on all cluster nodes that are connected to the same database and is different if two nodes are connected to different databases. All cluster nodes in one island are receiving multicast invalidation packages
      Returns:
      the cluster island id
    • isClusteringEnabled

      boolean isClusteringEnabled()
      'true' ONLY IF the correspondig property is set to 'true' AND the installed licence file supports this feature, too
    • getClusterGroups

      Collection<String> getClusterGroups()
      Returns all cluster node groups which this instance is configured to belong to.