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>
ThisPropertyLoader
takes a connection string and applies all properties that are supported and it knows about.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description ConnectionStringPropertyLoader(String connectionString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
propertyMap()
Returns the property map which should be loaded.-
Methods inherited from class com.couchbase.client.core.env.AbstractMapPropertyLoader
load
-
-
-
-
Constructor Detail
-
ConnectionStringPropertyLoader
public ConnectionStringPropertyLoader(String connectionString)
-
-
Method Detail
-
propertyMap
protected Map<String,String> 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.
-
-