| Package | Description |
|---|---|
| com.couchbase.client.dcp | |
| com.couchbase.client.dcp.core.env |
| Modifier and Type | Method and Description |
|---|---|
NetworkResolution |
Client.Environment.networkResolution()
Returns the configured hostname selection strategy.
|
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.networkResolution(NetworkResolution nr)
Network selection strategy for connecting to clusters whose nodes have alternate hostnames.
|
| Modifier and Type | Field and Description |
|---|---|
static NetworkResolution |
NetworkResolution.AUTO
Based on heuristics discovers if internal or
external resolution will be used.
|
static NetworkResolution |
NetworkResolution.DEFAULT
Pick whatever the server returns in the config, this is the
old and backwards compatible mode (server default).
|
static NetworkResolution |
NetworkResolution.EXTERNAL
Pins it to external resolution.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkResolution |
NetworkResolution.valueOf(String name)
Provide a network resolution option which is not covered by the statics defined
in this class.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.