软件包 | 描述 |
---|---|
io.netty.resolver.dns |
Java的内置域名查找机制的一种替代方法,可以异步解析域名,同样支持任意DNS记录类型的查询。
|
Modifier and Type | Method and Description |
---|---|
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)
创建一个新的 DnsCacheEntry 并缓存给定主机名的解析地址。
|
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)
缓存给定主机名的解析失败。
|
DnsCacheEntry |
DefaultDnsCache.cache(java.lang.String hostname, DnsRecord[] additionals, java.lang.Throwable cause, EventLoop loop) |
Modifier and Type | Method and Description |
---|---|
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)
返回给定主机名的缓存条目。
|
java.util.List<? extends DnsCacheEntry> |
DefaultDnsCache.get(java.lang.String hostname, DnsRecord[] additionals) |
Copyright © 2008–2018 The Netty Project. All rights reserved.