public class StableHash<T> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
StableHash.HashFunction
Deprecated.
|
Constructor and Description |
---|
StableHash(StableHash.HashFunction hashFunction,
int numberOfReplicas,
Collection<T> nodes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(T node)
Deprecated.
|
T |
get(Object key)
Deprecated.
|
void |
remove(T node)
Deprecated.
|
public StableHash(StableHash.HashFunction hashFunction, int numberOfReplicas, Collection<T> nodes)