Package com.couchbase.client.core.env
Class ConnectionStringPropertyLoader
java.lang.Object
com.couchbase.client.core.env.AbstractMapPropertyLoader<CoreEnvironment.Builder>
com.couchbase.client.core.env.ConnectionStringPropertyLoader
- All Implemented Interfaces:
PropertyLoader<CoreEnvironment.Builder>
public class ConnectionStringPropertyLoader
extends AbstractMapPropertyLoader<CoreEnvironment.Builder>
This
PropertyLoader
takes a connection string and applies all properties
that are supported and it knows about.- Since:
- 2.0.0
-
Constructor Summary
ConstructorDescriptionConnectionStringPropertyLoader
(ConnectionString connectionString) ConnectionStringPropertyLoader
(String connectionString) -
Method Summary
Modifier and TypeMethodDescriptionReturns the property map which should be loaded.Methods inherited from class com.couchbase.client.core.env.AbstractMapPropertyLoader
load
-
Constructor Details
-
ConnectionStringPropertyLoader
-
ConnectionStringPropertyLoader
-
-
Method Details
-
propertyMap
Description copied from class:AbstractMapPropertyLoader
Returns the property map which should be loaded.- Specified by:
propertyMap
in classAbstractMapPropertyLoader<CoreEnvironment.Builder>
- Returns:
- the property map to load.
-