Class CloudyUtility

java.lang.Object
com.hazelcast.aws.utility.CloudyUtility

public final class CloudyUtility
extends Object
  • Method Details

    • unmarshalTheResponse

      public static Map<String,​String> unmarshalTheResponse​(InputStream stream)
      Unmarshal the response from DescribeInstances and return the discovered node map. The map contains mappings from private to public IP and all contained nodes match the filtering rules defined by the awsConfig. If there is an exception while unmarshalling the response, returns an empty map.
      Parameters:
      stream - the response XML stream
      Returns:
      map from private to public IP or empty map in case of exceptions