Class PortInfo

java.lang.Object
com.couchbase.client.core.config.PortInfo

@Deprecated public class PortInfo extends Object
Deprecated.
  • Constructor Details

    • PortInfo

      public PortInfo(Map<String,Integer> services, String hostname, Map<String,AlternateAddress> aa)
      Deprecated.
      Creates a new PortInfo.

      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