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.booleanstatic NodeIdentifierforBootstrap(String bootstrapHost, int bootstrapPort) inthashCode()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
-