Package com.couchbase.client.core.node
Class StandardMemcachedHashingStrategy
java.lang.Object
com.couchbase.client.core.node.StandardMemcachedHashingStrategy
- All Implemented Interfaces:
MemcachedHashingStrategy
A
MemcachedHashingStrategy which is compatible with libcouchbase and SDKs that
are built on top.- Since:
- 1.5.3
- Author:
- Michael Nitschinger
-
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:
info- the node inforepetition- the repetition- Returns:
- the hashed node
-