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
-
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
-