Parses a comma or space-delimited string of hostname and port pairs into scala pair.
Parses a comma or space-delimited string of hostname and port pairs into scala pair. For example,
InetSocketAddressUtil.parseHostPorts("127.0.0.1:11211") => Seq(("127.0.0.1", 11211))
a comma or space-delimited string of hostname and port pairs.
if host and port are not both present
Parses a comma or space-delimited string of hostname and port pairs.
Parses a comma or space-delimited string of hostname and port pairs. For example,
InetSocketAddressUtil.parseHosts("127.0.0.1:11211") => Seq(new InetSocketAddress("127.0.0.1", 11211))
a comma or space-delimited string of hostname and port pairs.
if host and port are not both present
Resolves a sequence of host port pairs into a set of socket addresses.
Resolves a sequence of host port pairs into a set of socket addresses. For example,
InetSocketAddressUtil.resolveHostPorts(Seq(("127.0.0.1", 11211))) = Set(new InetSocketAddress("127.0.0.1", 11211))
a sequence of host port pairs
if some host cannot be resolved
converts 0.
converts 0.0.0.0 -> public ip in bound ip