org.apache.accumulo.fate.util
public class AddressUtil extends Object
| Constructor and Description |
|---|
AddressUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getAddressCacheNegativeTtl(UnknownHostException originalException)
Fetch the security value that determines how long DNS failures are cached.
|
public static int getAddressCacheNegativeTtl(UnknownHostException originalException)
originalException - the host lookup that is the source of needing this lookup. maybe be null.IllegalArgumentException - if dns failures are cached foreverInetAddressCopyright © 2014 Apache Accumulo Project. All Rights Reserved.