Package | Description |
---|---|
com.couchbase.client.core.config | |
com.couchbase.client.core.env |
Modifier and Type | Method and Description |
---|---|
static String |
DefaultConfigurationProvider.determineNetworkResolution(BucketConfig config,
NetworkResolution nr,
Set<NetworkAddress> 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 |
NetworkResolution.EXTERNAL
Pins it to external resolution.
|
static NetworkResolution |
DefaultCoreEnvironment.NETWORK_RESOLUTION |
Modifier and Type | Method and Description |
---|---|
static NetworkResolution |
NetworkResolution.custom(String name)
Provide a network resolution option which is not covered by the statics defined in this class.
|
NetworkResolution |
DefaultCoreEnvironment.networkResolution() |
NetworkResolution |
CoreEnvironment.networkResolution()
Allows to configure the network resolution, default being automatic.
|
Modifier and Type | Method and Description |
---|---|
SELF |
DefaultCoreEnvironment.Builder.networkResolution(NetworkResolution networkResolution)
Allows to tune the network resolution setting, pinning it to either internal or external instead of relying on the automatic mechanism.
|
Copyright © 2018 Couchbase, Inc.. All rights reserved.