Package org.apache.accumulo.core.util
Class AddressUtil
- java.lang.Object
-
- org.apache.accumulo.fate.util.AddressUtil
-
- org.apache.accumulo.core.util.AddressUtil
-
public class AddressUtil extends AddressUtil
-
-
Constructor Summary
Constructors Constructor Description AddressUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HostAndPort
parseAddress(String address, boolean ignoreMissingPort)
static HostAndPort
parseAddress(String address, int defaultPort)
-
Methods inherited from class org.apache.accumulo.fate.util.AddressUtil
getAddressCacheNegativeTtl
-
-
-
-
Method Detail
-
parseAddress
public static HostAndPort parseAddress(String address, boolean ignoreMissingPort) throws NumberFormatException
- Throws:
NumberFormatException
-
parseAddress
public static HostAndPort parseAddress(String address, int defaultPort)
-
-