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