| Package | Description |
|---|---|
| com.couchbase.client.core.config | |
| com.couchbase.client.core.env |
| Modifier and Type | Method and Description |
|---|---|
static String |
DefaultConfigurationProvider.determineNetworkResolution(List<DefaultConfigurationProvider.AlternateAddressHolder> nodes,
NetworkResolution nr,
Set<String> seedHosts)
Helper method to figure out which network resolution should be used.
|
| 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 |
IoConfig.DEFAULT_NETWORK_RESOLUTION |
static NetworkResolution |
NetworkResolution.EXTERNAL
Pins it to external resolution.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkResolution |
IoConfig.networkResolution() |
static NetworkResolution |
NetworkResolution.valueOf(String name)
Returns a network resolution option with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
static IoConfig.Builder |
IoConfig.networkResolution(NetworkResolution networkResolution)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoConfig.builder(). |
IoConfig.Builder |
IoConfig.Builder.networkResolution(NetworkResolution networkResolution) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.