|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use HashFunction | |
|---|---|
| voldemort.routing | Routing strategies for mapping requests into the Voldemort cluster. |
| voldemort.utils | Basic helper functions. |
| Uses of HashFunction in voldemort.routing |
|---|
| Constructors in voldemort.routing with parameters of type HashFunction | |
|---|---|
ConsistentRoutingStrategy(HashFunction hash,
java.util.Collection<Node> nodes,
int numReplicas)
|
|
ZoneRoutingStrategy(HashFunction hash,
java.util.Collection<Node> nodes,
java.util.HashMap<java.lang.Integer,java.lang.Integer> zoneReplicationFactor,
int numReplicas)
|
|
| Uses of HashFunction in voldemort.utils |
|---|
| Classes in voldemort.utils that implement HashFunction | |
|---|---|
class |
ConstantHashFunction
A hash function that always hashes everything to the same value. |
class |
FnvHashFunction
Taken from http://www.isthe.com/chongo/tech/comp/fnv hash = basis for each octet_of_data to be hashed hash = hash * FNV_prime hash = hash xor octet_of_data return hash |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||