public static interface ReplCache.HashFunction<K>
Modifier and Type | Method and Description |
---|---|
java.util.List<Address> |
hash(K key,
short replication_count)
Function that, given a key and a replication count, returns replication_count number of different
addresses of nodes.
|
void |
installNodes(java.util.List<Address> nodes)
When the topology changes, this method will be called.
|
java.util.List<Address> hash(K key, short replication_count)
key
- replication_count
- void installNodes(java.util.List<Address> nodes)
nodes
- Copyright © 1998-2020 Red Hat. All Rights Reserved.