public class CacheKeyDistribution extends Object implements KeyDistribution
| Constructor and Description |
|---|
CacheKeyDistribution(org.infinispan.Cache<?,?> cache) |
| Modifier and Type | Method and Description |
|---|---|
List<org.infinispan.remoting.transport.Address> |
getOwners(Object key)
Returns the owners of the specified key.
|
org.infinispan.remoting.transport.Address |
getPrimaryOwner(Object key)
Returns the primary owner of the specified key.
|
public CacheKeyDistribution(org.infinispan.Cache<?,?> cache)
public org.infinispan.remoting.transport.Address getPrimaryOwner(Object key)
KeyDistributiongetPrimaryOwner in interface KeyDistributionkey - a cache keypublic List<org.infinispan.remoting.transport.Address> getOwners(Object key)
KeyDistributiongetOwners in interface KeyDistributionkey - a cache keyCopyright © 2022 JBoss by Red Hat. All rights reserved.