Package com.couchbase.client.core.node
Class LegacyMemcachedHashingStrategy
java.lang.Object
com.couchbase.client.core.node.LegacyMemcachedHashingStrategy
- All Implemented Interfaces:
MemcachedHashingStrategy
The legacy memcache bucket hashing strategy, compatible with Java SDK 1.x.
- Since:
- 2.3.6
- Author:
- Michael Nitschinger
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
hash
Description copied from interface:MemcachedHashingStrategy
The hash for each node based on the node information and repetition.- Specified by:
hash
in interfaceMemcachedHashingStrategy
- Parameters:
info
- the node inforepetition
- the repetition- Returns:
- the hashed node
-