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)
MemcachedHashingStrategy
hash
in interface MemcachedHashingStrategy
info
- the node inforepetition
- the repetitionCopyright © 2024 Couchbase, Inc.. All rights reserved.