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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> getClusterGroups()
      Returns all cluster node groups which this instance is configured to belong to.
      int getClusterId()
      The current cluster id which is unique for each java process in the cluster island.
      long getClusterIslandId()
      An unique string identifying the complete cluster.
      boolean isClusteringEnabled()
      'true' ONLY IF the correspondig property is set to 'true' AND the installed licence file supports this feature, too
    • Method Detail

      • 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

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