Class NodeIdentifier
java.lang.Object
com.couchbase.client.core.topology.NodeIdentifier
-
Constructor Summary
ConstructorsConstructorDescriptionNodeIdentifier
(HostAndPort canonical, String hostForNetworkConnections) NodeIdentifier
(String canonicalHost, int canonicalPort, String hostForNetworkConnections) -
Method Summary
Modifier and TypeMethodDescriptionReturns manager host:port on the default network.boolean
static NodeIdentifier
forBootstrap
(String bootstrapHost, int bootstrapPort) int
hashCode()
toLegacy()
Deprecated.toString()
-
Constructor Details
-
NodeIdentifier
-
NodeIdentifier
-
-
Method Details
-
forBootstrap
-
canonical
Returns manager host:port on the default network.The SDK should not attempt to connect to this address, because it might not be accessible on the client's network. If you're looking for an address to connect to, see
hostForNetworkConnections
. -
toLegacy
Deprecated. -
hostForNetworkConnections
-
equals
-
hashCode
public int hashCode() -
toString
-