Package com.hazelcast.aws.utility
Class CloudyUtility
java.lang.Object
com.hazelcast.aws.utility.CloudyUtility
public final class CloudyUtility extends Object
-
Method Summary
Modifier and Type Method Description static Map<String,String>
unmarshalTheResponse(InputStream stream)
Unmarshal the response fromDescribeInstances
and return the discovered node map.
-
Method Details
-
unmarshalTheResponse
Unmarshal the response fromDescribeInstances
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 theawsConfig
. 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
-