org.apache.accumulo.core.util
public class AddressUtil extends AddressUtil
Constructor and Description |
---|
AddressUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.thrift.transport.TSocket |
createTSocket(String address,
int defaultPort) |
static String |
getHostAddress(InetSocketAddress addr) |
static InetSocketAddress |
parseAddress(String address,
int defaultPort) |
static InetSocketAddress |
parseAddress(org.apache.hadoop.io.Text address,
int defaultPort) |
static String |
toString(InetSocketAddress addr) |
getAddressCacheNegativeTtl
public static InetSocketAddress parseAddress(String address, int defaultPort) throws NumberFormatException
NumberFormatException
public static InetSocketAddress parseAddress(org.apache.hadoop.io.Text address, int defaultPort)
public static org.apache.thrift.transport.TSocket createTSocket(String address, int defaultPort)
public static String getHostAddress(InetSocketAddress addr)
public static String toString(InetSocketAddress addr)
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.