public class NetworkResolution extends Object
| 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 |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
Returns the wire representation of the network resolution setting.
|
String |
toString() |
static NetworkResolution |
valueOf(String name)
Provide a network resolution option which is not covered by the statics defined
in this class.
|
public static NetworkResolution DEFAULT
public static NetworkResolution AUTO
public static NetworkResolution EXTERNAL
public static NetworkResolution valueOf(String name)
name - the name to use.NetworkResolution.public String name()
Copyright © 2021 Couchbase, Inc.. All rights reserved.