public class StandardMemcachedHashingStrategy extends Object implements MemcachedHashingStrategy
MemcachedHashingStrategy which is compatible with libcouchbase and SDKs that
are built on top.| Modifier and Type | Field and Description |
|---|---|
static StandardMemcachedHashingStrategy |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
hash(NodeInfo info,
int repetition)
The hash for each node based on the node information and repetition.
|
public static final StandardMemcachedHashingStrategy INSTANCE
public String hash(NodeInfo info, int repetition)
MemcachedHashingStrategyhash in interface MemcachedHashingStrategyinfo - the node inforepetition - the repetitionCopyright © 2021 Couchbase, Inc.. All rights reserved.