Home / Class/ NoopAuthoritativeDnsServerCache Class — netty Architecture

NoopAuthoritativeDnsServerCache Class — netty Architecture

Architecture documentation for the NoopAuthoritativeDnsServerCache class in NoopAuthoritativeDnsServerCache.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0["NoopAuthoritativeDnsServerCache"]
  f7b73d49_bb1e_c98b_7546_736156466ee0["NoopAuthoritativeDnsServerCache.java"]
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0 -->|defined in| f7b73d49_bb1e_c98b_7546_736156466ee0
  2acfa9a8_588c_390d_949c_3a8abf63000f["NoopAuthoritativeDnsServerCache()"]
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0 -->|method| 2acfa9a8_588c_390d_949c_3a8abf63000f
  b5db1efd_3734_8a0c_67fe_35ebee3c9a28["DnsServerAddressStream()"]
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0 -->|method| b5db1efd_3734_8a0c_67fe_35ebee3c9a28
  b574709b_2768_c004_cca9_d6e064e067cd["cache()"]
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0 -->|method| b574709b_2768_c004_cca9_d6e064e067cd
  a86dfa63_cc26_7fca_b9ca_5bb96b3703f6["clear()"]
  cb7399f4_5323_d35e_f3f0_3e0fe10c62e0 -->|method| a86dfa63_cc26_7fca_b9ca_5bb96b3703f6

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/NoopAuthoritativeDnsServerCache.java lines 25–49

public final class NoopAuthoritativeDnsServerCache implements AuthoritativeDnsServerCache {
    public static final NoopAuthoritativeDnsServerCache INSTANCE = new NoopAuthoritativeDnsServerCache();

    private NoopAuthoritativeDnsServerCache() { }

    @Override
    public DnsServerAddressStream get(String hostname) {
        return null;
    }

    @Override
    public void cache(String hostname, InetSocketAddress address, long originalTtl, EventLoop loop) {
        // NOOP
    }

    @Override
    public void clear() {
        // NOOP
    }

    @Override
    public boolean clear(String hostname) {
        return false;
    }
}

Frequently Asked Questions

What is the NoopAuthoritativeDnsServerCache class?
NoopAuthoritativeDnsServerCache is a class in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/NoopAuthoritativeDnsServerCache.java.
Where is NoopAuthoritativeDnsServerCache defined?
NoopAuthoritativeDnsServerCache is defined in resolver-dns/src/main/java/io/netty/resolver/dns/NoopAuthoritativeDnsServerCache.java at line 25.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free