Class Util
java.lang.Object
com.mapr.org.apache.hadoop.metrics.spi.Util
Static utility methods
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<InetSocketAddress>Parses a space and/or comma separated sequence of server specifications of the form hostname or hostname:port.
-
Method Details
-
parse
Parses a space and/or comma separated sequence of server specifications of the form hostname or hostname:port. If the specs string is null, defaults to localhost:defaultPort.- Returns:
- a list of InetSocketAddress objects.
-