Class NetworkResolution
java.lang.Object
com.couchbase.client.dcp.core.env.NetworkResolution
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic NetworkResolutionBased on heuristics discovers if internal or external resolution will be used.static NetworkResolutionPick whatever the server returns in the config, this is the old and backwards compatible mode (server default).static NetworkResolutionPins it to external resolution. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()name()Returns the wire representation of the network resolution setting.toString()static NetworkResolutionProvide a network resolution option which is not covered by the statics defined in this class.
-
Field Details
-
DEFAULT
Pick whatever the server returns in the config, this is the old and backwards compatible mode (server default). -
AUTO
Based on heuristics discovers if internal or external resolution will be used.This is the default setting (not to be confused with the default mode)!
-
EXTERNAL
Pins it to external resolution.
-
-
Method Details
-
valueOf
Provide a network resolution option which is not covered by the statics defined in this class.- Parameters:
name- the name to use.- Returns:
- a new
NetworkResolution.
-
name
Returns the wire representation of the network resolution setting. -
equals
-
hashCode
public int hashCode() -
toString
-