public final class AddrUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static char |
HOST_CONFIG_DELIMITER |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.net.InetSocketAddress> |
getAddresses(java.util.List<java.lang.String> servers) |
static java.util.List<java.net.InetSocketAddress> |
getAddresses(java.lang.String s)
Split a string containing whitespace or comma separated host or IP
addresses and port numbers of the form "host:port host2:port" or
"host:port, host2:port" into a List of InetSocketAddress instances suitable
for instantiating a MemcachedClient.
|
static java.util.List<java.net.InetSocketAddress> |
getAddressesFromURL(java.util.List<java.net.URL> servers) |
static ClusterConfiguration |
parseClusterTypeConfiguration(java.lang.String configurationResponse)
Parse response from getConfig for cluster type.
|
public static final char HOST_CONFIG_DELIMITER
public static java.util.List<java.net.InetSocketAddress> getAddresses(java.lang.String s)
public static java.util.List<java.net.InetSocketAddress> getAddresses(java.util.List<java.lang.String> servers)
public static java.util.List<java.net.InetSocketAddress> getAddressesFromURL(java.util.List<java.net.URL> servers)
public static ClusterConfiguration parseClusterTypeConfiguration(java.lang.String configurationResponse)
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.