Interface KeyDistribution
-
- All Known Implementing Classes:
CacheKeyDistribution,ConsistentHashKeyDistribution,LocalKeyDistribution
public interface KeyDistributionProvides key distribution functions.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.infinispan.remoting.transport.Address>getOwners(Object key)Returns the owners of the specified key.org.infinispan.remoting.transport.AddressgetPrimaryOwner(Object key)Returns the primary owner of the specified key.
-
-
-
Method Detail
-
getPrimaryOwner
org.infinispan.remoting.transport.Address getPrimaryOwner(Object key)
Returns the primary owner of the specified key.- Parameters:
key- a cache key- Returns:
- the address of the primary owner
-
-