|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConsistentHash
Abstraction for the used consistent hash.
| Method Summary | |
|---|---|
SocketAddress |
getServer(byte[] key)
|
void |
init(Map<SocketAddress,Set<Integer>> servers2Hash,
int numKeyOwners,
int hashSpace)
|
| Method Detail |
|---|
void init(Map<SocketAddress,Set<Integer>> servers2Hash,
int numKeyOwners,
int hashSpace)
SocketAddress getServer(byte[] key)
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||