public class StandardMemcachedHashingStrategy extends Object implements MemcachedHashingStrategy
| Modifier and Type | Field and Description |
|---|---|
static StandardMemcachedHashingStrategy |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
hash(KetamaRingNode info,
int repetition)
The hash for each node based on the node information and repetition.
|
public static final StandardMemcachedHashingStrategy INSTANCE
public String hash(KetamaRingNode info, int repetition)
MemcachedHashingStrategyhash in interface MemcachedHashingStrategyinfo - the node inforepetition - the repetitionCopyright © 2024 Couchbase, Inc.. All rights reserved.