Interface GroupManager
-
- All Known Implementing Classes:
GroupManagerImpl
public interface GroupManager
Control's key grouping.- Author:
- Pete Muir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Object
getGroup(Object key)
Get the group for a given keyAddress
getPrimaryOwner(Object group)
Deprecated.Since 9.0, please useDistributionManager.getCacheTopology()
instead.boolean
isOwner(Object group)
Deprecated.Since 9.0, please useDistributionManager.getCacheTopology()
instead.boolean
isPrimaryOwner(Object group)
Deprecated.Since 9.0, please useDistributionManager.getCacheTopology()
instead.
-
-
-
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 useDistributionManager.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.
-
getPrimaryOwner
@Deprecated Address getPrimaryOwner(Object group)
Deprecated.Since 9.0, please useDistributionManager.getCacheTopology()
instead.It returns the primary owner of the group.- Parameters:
group
- the group name.- Returns:
- the primary owner of the group.
-
isPrimaryOwner
@Deprecated boolean isPrimaryOwner(Object group)
Deprecated.Since 9.0, please useDistributionManager.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.
-
-