Home / Function/ cache() — netty Function Reference

cache() — netty Function Reference

Architecture documentation for the cache() function in DnsNameResolverTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  320a7bb7_1770_5812_3b9d_752bd44edf24["cache()"]
  93112857_adb2_b8c5_f3a6_e97b373db780["TestAuthoritativeDnsServerCache"]
  320a7bb7_1770_5812_3b9d_752bd44edf24 -->|defined in| 93112857_adb2_b8c5_f3a6_e97b373db780
  a0bec8a5_e540_50ae_f902_a2944cf3eb8c["testCNAMERecursiveResolveMultipleNameServers()"]
  a0bec8a5_e540_50ae_f902_a2944cf3eb8c -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  90172f00_107c_8a97_9f8f_fa6434981fce["testMultipleAdditionalRecordsForSameNSRecord()"]
  90172f00_107c_8a97_9f8f_fa6434981fce -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  05fbb897_f60d_49cb_1677_04923288394c["testNSRecordsFromCache()"]
  05fbb897_f60d_49cb_1677_04923288394c -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  7440ceda_506a_7a66_d730_0aca7bee87b7["testTimeoutNotCached()"]
  7440ceda_506a_7a66_d730_0aca7bee87b7 -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  0a1a9396_f995_d07b_f55f_459c69d9ee10["testCNAMELoopInCache()"]
  0a1a9396_f995_d07b_f55f_459c69d9ee10 -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  e9b1cc30_38a7_d893_5b27_7d0dc204615e["testCachesClearedOnClose()"]
  e9b1cc30_38a7_d893_5b27_7d0dc204615e -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  96b415a8_680a_71b7_4900_29d1fe02c25e["testCNameCached()"]
  96b415a8_680a_71b7_4900_29d1fe02c25e -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  a1351976_5641_8ead_2862_52affd483f01["DnsCacheEntry()"]
  a1351976_5641_8ead_2862_52affd483f01 -->|calls| 320a7bb7_1770_5812_3b9d_752bd44edf24
  style 320a7bb7_1770_5812_3b9d_752bd44edf24 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java lines 2308–2311

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

Domain

Subdomains

Frequently Asked Questions

What does cache() do?
cache() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java.
Where is cache() defined?
cache() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java at line 2308.
What calls cache()?
cache() is called by 8 function(s): DnsCacheEntry, testCNAMELoopInCache, testCNAMERecursiveResolveMultipleNameServers, testCNameCached, testCachesClearedOnClose, testMultipleAdditionalRecordsForSameNSRecord, testNSRecordsFromCache, testTimeoutNotCached.

Analyze Your Own Codebase

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

Try Supermodel Free