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 foreverInetAddress
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.