public interface DnsCacheEntry
限定符和类型 | 方法和说明 |
---|---|
java.net.InetAddress |
address()
Get the resolved address.
|
java.lang.Throwable |
cause()
If the DNS query failed this will provide the rational.
|
java.net.InetAddress address()
This may be null if the resolution failed, and in that case cause()
will describe the failure.
java.lang.Throwable cause()
null
if the query hasn't failed.