Home / Class/ NoopDnsCacheEntry Class — netty Architecture

NoopDnsCacheEntry Class — netty Architecture

Architecture documentation for the NoopDnsCacheEntry class in NoopDnsCache.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3["NoopDnsCacheEntry"]
  e9ad3085_f550_cdfe_25e1_444cb2c16823["NoopDnsCache.java"]
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3 -->|defined in| e9ad3085_f550_cdfe_25e1_444cb2c16823
  6dfa3f5a_bab1_78ab_6f79_8631ff2e8729["NoopDnsCacheEntry()"]
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3 -->|method| 6dfa3f5a_bab1_78ab_6f79_8631ff2e8729
  549ebd82_0ada_f31a_1b6c_716a79cd200b["InetAddress()"]
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3 -->|method| 549ebd82_0ada_f31a_1b6c_716a79cd200b
  d0e8427e_1780_0cac_be8c_47250d5d1405["Throwable()"]
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3 -->|method| d0e8427e_1780_0cac_be8c_47250d5d1405
  f1716722_8206_4998_94eb_fa824721acdf["String()"]
  93ec22dc_6cc8_6edc_a027_42c5d5c475c3 -->|method| f1716722_8206_4998_94eb_fa824721acdf

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/NoopDnsCache.java lines 68–89

    private static final class NoopDnsCacheEntry implements DnsCacheEntry {
        private final InetAddress address;

        NoopDnsCacheEntry(InetAddress address) {
            this.address = address;
        }

        @Override
        public InetAddress address() {
            return address;
        }

        @Override
        public Throwable cause() {
            return null;
        }

        @Override
        public String toString() {
            return address.toString();
        }
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free