Class DnsResolveContext.RedirectAuthoritativeDnsServerCache

java.lang.Object
io.netty.resolver.dns.DnsResolveContext.RedirectAuthoritativeDnsServerCache
All Implemented Interfaces:
AuthoritativeDnsServerCache
Enclosing class:
DnsResolveContext<T>

private static final class DnsResolveContext.RedirectAuthoritativeDnsServerCache extends java.lang.Object implements AuthoritativeDnsServerCache
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)
    Caches a nameserver that should be used to resolve the given hostname.
    void
    Clears all cached nameservers.
    boolean
    clear(java.lang.String hostname)
    Clears the cached nameservers for the specified hostname.
    get(java.lang.String hostname)
    Returns the cached nameservers that should be used to resolve the given hostname.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait