Package com.couchbase.client.core.utils
Class ConnectionString
java.lang.Object
com.couchbase.client.core.utils.ConnectionString
public class ConnectionString extends Object
Implements a
ConnectionString
.- Since:
- 2.4.0
- Author:
- Michael Nitschinger
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionString.Scheme
static class
ConnectionString.UnresolvedSocket
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SCHEME
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectionString(String input)
-
Method Summary
Modifier and Type Method Description List<ConnectionString.UnresolvedSocket>
allHosts()
Deprecated.static ConnectionString
create(String input)
static ConnectionString
fromHostnames(List<String> hostnames)
List<ConnectionString.UnresolvedSocket>
hosts()
Get the list of hosts that could be resolvedMap<String,String>
params()
ConnectionString.Scheme
scheme()
String
toString()
String
username()
-
Field Details
-
DEFAULT_SCHEME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ConnectionString
-
-
Method Details
hosts()