Class StandardMemcachedHashingStrategy
java.lang.Object
com.couchbase.client.dcp.core.config.StandardMemcachedHashingStrategy
- All Implemented Interfaces:
MemcachedHashingStrategy
A strategy compatible with libcouchbase and related SDKs.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
hash
Description copied from interface:MemcachedHashingStrategyThe hash for each node based on the node information and repetition.- Specified by:
hashin interfaceMemcachedHashingStrategy- Parameters:
node- the node inforepetition- the repetition- Returns:
- the hashed node
-