net.spy.memcached
Class AddrUtil
java.lang.Object
   net.spy.memcached.AddrUtil
net.spy.memcached.AddrUtil
- public class AddrUtil 
- extends Object
Convenience utilities for simplifying common address parsing.
 
| Method Summary | 
| static List<InetSocketAddress> | getAddresses(String s)Split a string in the form of "host:port host2:port" into a List of
 InetSocketAddress instances suitable for instantiating a MemcachedClient.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AddrUtil
public AddrUtil()
getAddresses
public static List<InetSocketAddress> getAddresses(String s)
- Split a string in the form of "host:port host2:port" into a List of
 InetSocketAddress instances suitable for instantiating a MemcachedClient.
 Note that colon-delimited IPv6 is also supported.
 For example:  ::1:11211
 
-