程序包 | 说明 |
---|---|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
限定符和类型 | 方法和说明 |
---|---|
DnsCacheEntry |
NoopDnsCache.cache(java.lang.String hostname,
DnsRecord[] additional,
java.net.InetAddress address,
long originalTtl,
EventLoop loop) |
DnsCacheEntry |
DnsCache.cache(java.lang.String hostname,
DnsRecord[] additionals,
java.net.InetAddress address,
long originalTtl,
EventLoop loop)
Create a new
DnsCacheEntry and cache a resolved address for a given hostname. |
DnsCacheEntry |
DefaultDnsCache.cache(java.lang.String hostname,
DnsRecord[] additionals,
java.net.InetAddress address,
long originalTtl,
EventLoop loop) |
DnsCacheEntry |
NoopDnsCache.cache(java.lang.String hostname,
DnsRecord[] additional,
java.lang.Throwable cause,
EventLoop loop) |
DnsCacheEntry |
DnsCache.cache(java.lang.String hostname,
DnsRecord[] additionals,
java.lang.Throwable cause,
EventLoop loop)
Cache the resolution failure for a given hostname.
|
DnsCacheEntry |
DefaultDnsCache.cache(java.lang.String hostname,
DnsRecord[] additionals,
java.lang.Throwable cause,
EventLoop loop) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<? extends DnsCacheEntry> |
NoopDnsCache.get(java.lang.String hostname,
DnsRecord[] additionals) |
java.util.List<? extends DnsCacheEntry> |
DnsCache.get(java.lang.String hostname,
DnsRecord[] additionals)
Return the cached entries for the given hostname.
|
java.util.List<? extends DnsCacheEntry> |
DefaultDnsCache.get(java.lang.String hostname,
DnsRecord[] additionals) |