Constructor and Description |
---|
ConsistentHashLocality(org.infinispan.remoting.transport.Address localAddress,
org.infinispan.distribution.ch.ConsistentHash hash) |
ConsistentHashLocality(org.infinispan.Cache<?,?> cache) |
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)
public ConsistentHashLocality(org.infinispan.remoting.transport.Address localAddress, org.infinispan.distribution.ch.ConsistentHash hash)
Copyright © 2016 JBoss by Red Hat. All rights reserved.