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>
ThisPropertyLoadertakes a connection string and applies all properties that are supported and it knows about.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description ConnectionStringPropertyLoader(ConnectionString connectionString)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)
-
ConnectionStringPropertyLoader
public ConnectionStringPropertyLoader(ConnectionString connectionString)
-
-
Method Detail
-
propertyMap
protected Map<String,String> propertyMap()
Description copied from class:AbstractMapPropertyLoaderReturns the property map which should be loaded.- Specified by:
propertyMapin classAbstractMapPropertyLoader<CoreEnvironment.Builder>- Returns:
- the property map to load.
-
-