org.infinispan.client.hotrod.impl.consistenthash
Interface ConsistentHash

All Known Implementing Classes:
ConsistentHashV1

public interface ConsistentHash

Abstraction for the used consistent hash.

Since:
4.1
Author:
Mircea.Markus@jboss.com

Method Summary
 InetSocketAddress getServer(byte[] key)
           
 void init(LinkedHashMap<InetSocketAddress,Integer> servers2HashCode, int numKeyOwners, int hashSpace)
           
 

Method Detail

init

void init(LinkedHashMap<InetSocketAddress,Integer> servers2HashCode,
          int numKeyOwners,
          int hashSpace)

getServer

InetSocketAddress getServer(byte[] key)

Google Analytics

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