Class NodeInfoParser

java.lang.Object
com.couchbase.client.dcp.core.config.NodeInfoParser

public class NodeInfoParser extends Object
  • Method Details

    • parse

      public static Map<NetworkResolution,NodeInfo> parse(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, PortSelector portSelector)
      Parses one element of the "nodesExt" array. Returns a map where the keys are the external address network names (plus the implicit "default" network), and each value is the candidate NodeInfo object for the associated network.
      Parameters:
      portSelector - Determines whether the returned node info has TLS ports or non-TLS ports.