@InterfaceStability.Experimental @InterfaceAudience.Private public class Bootstrap extends Object
Utility classes for bootstrapping.
| Constructor and Description |
|---|
Bootstrap() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
fromDnsSrv(String serviceName,
boolean full,
boolean secure)
Fetch a bootstrap list from DNS SRV.
|
public static List<String> fromDnsSrv(String serviceName, boolean full, boolean secure) throws NamingException
Fetch a bootstrap list from DNS SRV.
serviceName - the DNS SRV locator.full - if the service name is the full one or needs to be enriched by the couchbase prefixes.secure - if the secure service prefix should be used.NamingException - if something goes wrong during the load process.Copyright © 2015 Couchbase, Inc.