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