get() — netty Function Reference
Architecture documentation for the get() function in DefaultDnsCache.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c5550e1d_924c_e7f5_544c_55473d5aa3c7["get()"] 6b67d8b7_9ce6_8cd4_2a76_4d57f4fe2c7f["DefaultDnsCache"] c5550e1d_924c_e7f5_544c_55473d5aa3c7 -->|defined in| 6b67d8b7_9ce6_8cd4_2a76_4d57f4fe2c7f ae5d36e6_30f4_c99e_4519_5cf14fa6d191["DnsCacheEntry()"] ae5d36e6_30f4_c99e_4519_5cf14fa6d191 -->|calls| c5550e1d_924c_e7f5_544c_55473d5aa3c7 86203404_57a7_0f1b_0d62_894c6625cd1d["emptyAdditionals()"] c5550e1d_924c_e7f5_544c_55473d5aa3c7 -->|calls| 86203404_57a7_0f1b_0d62_894c6625cd1d e6a0ddc9_5bc2_ce16_6661_fd0f7c52a4e4["DnsCacheEntryList()"] c5550e1d_924c_e7f5_544c_55473d5aa3c7 -->|calls| e6a0ddc9_5bc2_ce16_6661_fd0f7c52a4e4 style c5550e1d_924c_e7f5_544c_55473d5aa3c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java lines 131–143
@Override
public List<? extends DnsCacheEntry> get(String hostname, DnsRecord[] additionals) {
checkNotNull(hostname, "hostname");
if (!emptyAdditionals(additionals)) {
return Collections.<DnsCacheEntry>emptyList();
}
final List<? extends DnsCacheEntry> entries = resolveCache.get(appendDot(hostname));
if (entries == null || entries.isEmpty()) {
return entries;
}
return new DnsCacheEntryList(entries);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does get() do?
get() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java.
Where is get() defined?
get() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DefaultDnsCache.java at line 131.
What does get() call?
get() calls 2 function(s): DnsCacheEntryList, emptyAdditionals.
What calls get()?
get() is called by 1 function(s): DnsCacheEntry.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free