org.infinispan.distribution
Class DefaultConsistentHash
java.lang.Object
org.infinispan.distribution.DefaultConsistentHash
- All Implemented Interfaces:
- ConsistentHash
public class DefaultConsistentHash
- extends Object
- implements ConsistentHash
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConsistentHash
public DefaultConsistentHash()
setCaches
public void setCaches(Collection<Address> caches)
- Specified by:
setCaches
in interface ConsistentHash
locate
public List<Address> locate(Object key,
int replicationCount)
- Specified by:
locate
in interface ConsistentHash
locateAll
public Map<Object,List<Address>> locateAll(Collection<Object> keys,
int replCount)
- Specified by:
locateAll
in interface ConsistentHash
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.