Package com.couchbase.client.core.config
Class BucketConfigParser
java.lang.Object
com.couchbase.client.core.config.BucketConfigParser
Deprecated.
An abstraction over the bucket parser which takes a raw config as a string and turns it into a
BucketConfig
.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BucketConfig
parse
(String input, CoreEnvironment env, String origin) Deprecated.Parse a raw configuration into aBucketConfig
.static BucketConfig
parse
(String input, MemcachedHashingStrategy memcachedHashingStrategy, String origin) Deprecated.
-
Constructor Details
-
BucketConfigParser
public BucketConfigParser()Deprecated.
-
-
Method Details
-
parse
Deprecated.Parse a raw configuration into aBucketConfig
.- Parameters:
input
- the raw string input.env
- the environment to use.origin
- the origin of the configuration. If null / none provided then localhost is assumed.- Returns:
- the parsed bucket configuration.
-
parse
@Internal public static BucketConfig parse(String input, MemcachedHashingStrategy memcachedHashingStrategy, @Nullable String origin) Deprecated.
-
TopologyParser