org.infinispan.distribution
Interface ConsistentHash

All Known Implementing Classes:
DefaultConsistentHash

public interface ConsistentHash

A consistent hash algorithm

Since:
4.0
Author:
Manik Surtani

Method Summary
 List<Address> locate(Object key, int replCount)
           
 Map<Object,List<Address>> locateAll(Collection<Object> keys, int replCount)
           
 void setCaches(Collection<Address> caches)
           
 

Method Detail

setCaches

void setCaches(Collection<Address> caches)

locate

List<Address> locate(Object key,
                     int replCount)

locateAll

Map<Object,List<Address>> locateAll(Collection<Object> keys,
                                    int replCount)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.