@Stability.Internal public class ConnectionStringUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Set<SeedNode> |
seedNodesFromConnectionString(String cs,
boolean dnsSrvEnabled,
boolean tlsEnabled,
EventBus eventBus)
Populates a list of seed nodes from the connection string.
|
public static Set<SeedNode> seedNodesFromConnectionString(String cs, boolean dnsSrvEnabled, boolean tlsEnabled, EventBus eventBus)
Note that this method also performs DNS SRV lookups if the connection string qualifies!
cs
- the connection string in its encoded form.dnsSrvEnabled
- true if dns srv is enabled.tlsEnabled
- true if tls is enabled.Copyright © 2020 Couchbase, Inc.. All rights reserved.