Package io.netty.resolver.dns
Class NoopDnsCache.NoopDnsCacheEntry
java.lang.Object
io.netty.resolver.dns.NoopDnsCache.NoopDnsCacheEntry
- All Implemented Interfaces:
DnsCacheEntry
- Enclosing class:
NoopDnsCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
address
-
-
Constructor Details
-
NoopDnsCacheEntry
NoopDnsCacheEntry(InetAddress address)
-
-
Method Details
-
address
Description copied from interface:DnsCacheEntryGet the resolved address.This may be null if the resolution failed, and in that case
DnsCacheEntry.cause()will describe the failure.- Specified by:
addressin interfaceDnsCacheEntry- Returns:
- the resolved address.
-
cause
Description copied from interface:DnsCacheEntryIf the DNS query failed this will provide the rational.- Specified by:
causein interfaceDnsCacheEntry- Returns:
- the rational for why the DNS query failed, or
nullif the query hasn't failed.
-
toString
-