Uses of Interface
io.netty5.resolver.dns.DnsCache
-
Packages that use DnsCache Package Description io.netty5.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. -
-
Uses of DnsCache in io.netty5.resolver.dns
Classes in io.netty5.resolver.dns that implement DnsCache Modifier and Type Class Description class
DefaultDnsCache
Default implementation ofDnsCache
, backed by aConcurrentMap
.class
NoopDnsCache
A noop DNS cache that actually never caches anything.Methods in io.netty5.resolver.dns that return DnsCache Modifier and Type Method Description DnsCache
DnsNameResolver. resolveCache()
Returns the resolution cache.Methods in io.netty5.resolver.dns with parameters of type DnsCache Modifier and Type Method Description DnsNameResolverBuilder
DnsNameResolverBuilder. authoritativeDnsServerCache(DnsCache authoritativeDnsServerCache)
protected void
DnsNameResolver. doResolve(String inetHost, DnsRecord[] additionals, Promise<InetAddress> promise, DnsCache resolveCache)
Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.protected void
DnsNameResolver. doResolveAll(String inetHost, DnsRecord[] additionals, Promise<List<InetAddress>> promise, DnsCache resolveCache)
Hook designed for extensibility so one can pass a different cache on each resolution attempt instead of using the global one.DnsNameResolverBuilder
DnsNameResolverBuilder. resolveCache(DnsCache resolveCache)
Sets the cache for resolution results.Constructors in io.netty5.resolver.dns with parameters of type DnsCache Constructor Description DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, String[] searchDomains, int ndots, boolean decodeIdn)
Deprecated.DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, DnsCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, String[] searchDomains, int ndots, boolean decodeIdn)
Deprecated.
-