@Override
  public synchronized GemFireHealthConfig getGemFireHealthConfig(String hostName) {

    checkClosed();

    InetAddress hostIpAddress = null;
    try {
      hostIpAddress = InetAddress.getByName(hostName);
    } catch (UnknownHostException e) {
      throw new IllegalArgumentException(
          String.format("Could not find a host with name %s.",
              hostName),
          e);
    }

    GemFireHealthConfig config = (GemFireHealthConfig) hostConfigs.get(hostIpAddress);
    if (config == null) {
      config = createGemFireHealthConfig(hostName);
      hostConfigs.put(hostIpAddress, config);
    }

    return config;
  }
Returns the GemFireHealthConfig object for the given host name.

@param hostName host name for which the GemFire Health Config is needed

@throws IllegalArgumentException if host with given name could not be found
geode-core/src/main/java/org/apache/geode/admin/internal/GemFireHealthImpl.java