Class Sdk2CompatibleMemcachedHashingStrategy

java.lang.Object
com.couchbase.client.core.node.Sdk2CompatibleMemcachedHashingStrategy
All Implemented Interfaces:
MemcachedHashingStrategy

public class Sdk2CompatibleMemcachedHashingStrategy extends Object implements MemcachedHashingStrategy
This Memcached Hashing Strategy is compatible with the SDK 2 "DefaultMemcachedHashingStrategy".

It should only be used if code is migrated from Java SDK 2 to SDK 3 and access to cached documents need to be preserved. For everything else (especially for interop with libcouchbase-based SDKs) we strongly recommend the default StandardMemcachedHashingStrategy.