Class NoopAuthoritativeDnsServerCache

java.lang.Object
io.netty.resolver.dns.NoopAuthoritativeDnsServerCache
All Implemented Interfaces:
AuthoritativeDnsServerCache

public final class NoopAuthoritativeDnsServerCache extends java.lang.Object implements AuthoritativeDnsServerCache
A noop AuthoritativeDnsServerCache that actually never caches anything.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • 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
  • Field Details

  • Constructor Details

    • NoopAuthoritativeDnsServerCache

      private NoopAuthoritativeDnsServerCache()
  • Method Details