Package com.couchbase.client.core.config
Class PortInfo
java.lang.Object
com.couchbase.client.core.config.PortInfo
public class PortInfo extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Map<String,AlternateAddress>alternateAddresses()booleanequals(Object o)inthashCode()Stringhostname()NodeIdentifieridentifier()Map<ServiceType,Integer>ports()Map<ServiceType,Integer>sslPorts()StringtoString()
-
Constructor Details
-
PortInfo
Creates a newPortInfo.Note that if the hostname is null (not provided by the server), it is explicitly set to null because otherwise the loaded InetAddress would point to localhost.
- Parameters:
services- the list of services mapping to ports.
-
-
Method Details