public class Sdk2CompatibleMemcachedHashingStrategy extends Object implements MemcachedHashingStrategy
StandardMemcachedHashingStrategy
.Modifier and Type | Field and Description |
---|---|
static Sdk2CompatibleMemcachedHashingStrategy |
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 Sdk2CompatibleMemcachedHashingStrategy INSTANCE
public String hash(NodeInfo info, int repetition)
MemcachedHashingStrategy
hash
in interface MemcachedHashingStrategy
info
- the node inforepetition
- the repetitionCopyright © 2024 Couchbase, Inc.. All rights reserved.