|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PartitionedHashMap.HashFunction<K>
Method Summary | |
---|---|
Address |
hash(K key,
java.util.List<Address> membership)
Defines a hash function to pick the right node from the list of cluster nodes. |
Method Detail |
---|
Address hash(K key, java.util.List<Address> membership)
key
- The object to be hashedmembership
- The membership. This value can be ignored for example if the hash function keeps
track of the membership itself, e.g. by registering as a membership
listener (PartitionedHashMap.addMembershipListener(org.jgroups.MembershipListener)
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |