public class ConnectionString extends Object
ConnectionString
.Modifier and Type | Class and Description |
---|---|
static class |
ConnectionString.Scheme |
static class |
ConnectionString.UnresolvedSocket |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SCHEME |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionString(String input) |
Modifier and Type | Method and Description |
---|---|
List<ConnectionString.UnresolvedSocket> |
allHosts()
Deprecated.
use
hosts() |
static ConnectionString |
create(String input) |
static ConnectionString |
fromHostnames(List<String> hostnames) |
List<ConnectionString.UnresolvedSocket> |
hosts()
Get the list of hosts that could be resolved
|
Map<String,String> |
params() |
ConnectionString.Scheme |
scheme() |
String |
toString() |
String |
username() |
public static final String DEFAULT_SCHEME
protected ConnectionString(String input)
public static ConnectionString create(String input)
public static ConnectionString fromHostnames(List<String> hostnames)
public ConnectionString.Scheme scheme()
public String username()
public List<ConnectionString.UnresolvedSocket> hosts()
public List<ConnectionString.UnresolvedSocket> allHosts()
hosts()
Copyright © 2019 Couchbase, Inc.. All rights reserved.