Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
DnsCacheEntry |
DefaultDnsCache.cache(String hostname,
DnsRecord[] additionals,
InetAddress address,
long originalTtl,
EventLoop loop) |
DnsCacheEntry |
NoopDnsCache.cache(String hostname,
DnsRecord[] additional,
InetAddress address,
long originalTtl,
EventLoop loop) |
DnsCacheEntry |
DnsCache.cache(String hostname,
DnsRecord[] additionals,
InetAddress address,
long originalTtl,
EventLoop loop)
Create a new
DnsCacheEntry and cache a resolved address for a given hostname. |
DnsCacheEntry |
DefaultDnsCache.cache(String hostname,
DnsRecord[] additionals,
Throwable cause,
EventLoop loop) |
DnsCacheEntry |
NoopDnsCache.cache(String hostname,
DnsRecord[] additional,
Throwable cause,
EventLoop loop) |
DnsCacheEntry |
DnsCache.cache(String hostname,
DnsRecord[] additionals,
Throwable cause,
EventLoop loop)
Cache the resolution failure for a given hostname.
|
Modifier and Type | Method and Description |
---|---|
List<? extends DnsCacheEntry> |
DefaultDnsCache.get(String hostname,
DnsRecord[] additionals) |
List<? extends DnsCacheEntry> |
NoopDnsCache.get(String hostname,
DnsRecord[] additionals) |
List<? extends DnsCacheEntry> |
DnsCache.get(String hostname,
DnsRecord[] additionals)
Return the cached entries for the given hostname.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.