public class NetworkResolution extends Object
CoreEnvironment.networkResolution()
.Modifier and Type | Field and Description |
---|---|
static NetworkResolution |
AUTO
Based on heuristics discovers if internal or
external resolution will be used.
|
static NetworkResolution |
DEFAULT
Pick whatever the server returns in the config, this is the
old and backwards compatible mode (server default).
|
static NetworkResolution |
EXTERNAL
Pins it to external resolution.
|
Modifier and Type | Method and Description |
---|---|
static NetworkResolution |
custom(String name)
Provide a network resolution option which is not covered by the statics defined
in this class.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the wire representation of the network resolution setting.
|
String |
toString() |
public static NetworkResolution DEFAULT
public static NetworkResolution AUTO
public static NetworkResolution EXTERNAL
public static NetworkResolution custom(String name)
name
- the name to use.NetworkResolution
.public String name()
Copyright © 2021 Couchbase, Inc.. All rights reserved.