Modifier and Type | Field and Description |
---|---|
static long |
FNV_BASIS |
static long |
FNV_PRIME |
Constructor and Description |
---|
FnvHash() |
Modifier and Type | Method and Description |
---|---|
int |
hash(byte[] key) |
int |
hash(int key)
Static function to apply fnv hash function
|
int |
hash(voldemort.store.cachestore.Key key)
Use FnvHashFunction to perform hash funtion instead
Key.hashCode
|
static int |
hash(long key)
Static function to apply fnv hash function
|
public static final long FNV_BASIS
public static final long FNV_PRIME
public int hash(voldemort.store.cachestore.Key key)
public int hash(byte[] key)
public int hash(int key)
key
- - an integerpublic static int hash(long key)
key
- Copyright © 2016. All rights reserved.