| Constructor and Description |
|---|
ConsistentHashLocality(org.infinispan.Cache<?,?> cache,
org.infinispan.distribution.ch.ConsistentHash hash) |
ConsistentHashLocality(org.infinispan.distribution.LocalizedCacheTopology topology) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocal(Object key)
Indicates whether the current node is the primary owner of the specified cache key.
|
public ConsistentHashLocality(org.infinispan.Cache<?,?> cache,
org.infinispan.distribution.ch.ConsistentHash hash)
public ConsistentHashLocality(org.infinispan.distribution.LocalizedCacheTopology topology)
Copyright © 2018 JBoss by Red Hat. All rights reserved.