@UnstableApi
public interface DnsCacheEntry
Modifier and Type | Method and Description |
---|---|
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.Copyright © 2008–2019 The Netty Project. All rights reserved.