Package org.jgroups.blocks
Interface ReplCache.HashFunction<K>
- All Known Implementing Classes:
ReplCache.ConsistentHashFunction
public static interface ReplCache.HashFunction<K>
-
Method Summary
-
Method Details
-
hash
Function that, given a key and a replication count, returns replication_count number of different addresses of nodes.- Parameters:
key-replication_count-- Returns:
-
installNodes
When the topology changes, this method will be called. Implementations will typically cache the node list- Parameters:
nodes-
-