code: public String getPeerHostName (String region)
      {
          return (ALWAYS_CONNECT_INTERNAL || Objects.equal(this.region, region))
                  ? hostName
                  : publicHostName;
      }
docs: Returns the host name to which peers in the specified region should connect.