DnsCacheEntry() — netty Function Reference
Architecture documentation for the DnsCacheEntry() function in DefaultDnsCache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b315e3a4_b98e_b543_8e50_bf9cab976514["DnsCacheEntry()"] 6b67d8b7_9ce6_8cd4_2a76_4d57f4fe2c7f["DefaultDnsCache"] b315e3a4_b98e_b543_8e50_bf9cab976514 -->|defined in| 6b67d8b7_9ce6_8cd4_2a76_4d57f4fe2c7f 528b79fc_d9cc_9686_7d46_8a76d05353ad["DefaultDnsCacheEntry()"] b315e3a4_b98e_b543_8e50_bf9cab976514 -->|calls| 528b79fc_d9cc_9686_7d46_8a76d05353ad 86203404_57a7_0f1b_0d62_894c6625cd1d["emptyAdditionals()"] b315e3a4_b98e_b543_8e50_bf9cab976514 -->|calls| 86203404_57a7_0f1b_0d62_894c6625cd1d style b315e3a4_b98e_b543_8e50_bf9cab976514 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java lines 145–157
@Override
public DnsCacheEntry cache(String hostname, DnsRecord[] additionals,
InetAddress address, long originalTtl, EventLoop loop) {
checkNotNull(hostname, "hostname");
checkNotNull(address, "address");
checkNotNull(loop, "loop");
DefaultDnsCacheEntry e = new DefaultDnsCacheEntry(hostname, address);
if (maxTtl == 0 || !emptyAdditionals(additionals)) {
return e;
}
resolveCache.cache(appendDot(hostname), e, Math.max(minTtl, (int) Math.min(maxTtl, originalTtl)), loop);
return e;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DnsCacheEntry() do?
DnsCacheEntry() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java.
Where is DnsCacheEntry() defined?
DnsCacheEntry() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java at line 145.
What does DnsCacheEntry() call?
DnsCacheEntry() calls 2 function(s): DefaultDnsCacheEntry, emptyAdditionals.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free