Interface GroupManager

  • All Known Implementing Classes:
    GroupManagerImpl

    public interface GroupManager
    Control's key grouping.
    Author:
    Pete Muir
    • Method Detail

      • getGroup

        Object getGroup​(Object key)
        Get the group for a given key
        Parameters:
        key - the key for which to get the group
        Returns:
        the group, or null if no group is defined for the key
      • isOwner

        @Deprecated
        boolean isOwner​(Object group)
        Deprecated.
        Since 9.0, please use DistributionManager.getCacheTopology() instead.
        Checks if this node is an owner of the group.
        Parameters:
        group - the group name.
        Returns:
        true if this node is an owner of the group, false otherwise.
      • isPrimaryOwner

        @Deprecated
        boolean isPrimaryOwner​(Object group)
        Deprecated.
        Since 9.0, please use DistributionManager.getCacheTopology() instead.
        It checks if this node is the primary owner of the group.
        Parameters:
        group - the group name.
        Returns:
        true if this node is the primary owner of the group, false otherwise.