Package com.couchbase.client.core.env
Interface ConfigParserEnvironment
- All Known Subinterfaces:
CoreEnvironment
- All Known Implementing Classes:
DefaultCoreEnvironment
public interface ConfigParserEnvironment
A
ConfigParserEnvironment
interface defines all methods which environment implementation should have
to be injected into configuration parser.-
Method Summary
Modifier and TypeMethodDescriptionAllows to specify a custom strategy to hash memcached bucket documents.
-
Method Details
-
memcachedHashingStrategy
MemcachedHashingStrategy memcachedHashingStrategy()Allows to specify a custom strategy to hash memcached bucket documents. If you want to use this SDK side by side with 1.x SDKs on memcached buckets, configure the environment to use theLegacyMemcachedHashingStrategy
instead.- Returns:
- the memcached hashing strategy.
-