TestAuthoritativeDnsServerCache Class — netty Architecture
Architecture documentation for the TestAuthoritativeDnsServerCache class in DnsNameResolverBuilderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c6eeca5_e0db_feb7_53f9_c4c6c56dbf49["TestAuthoritativeDnsServerCache"] cdcbd500_6a41_b94e_fe5d_26da5f79538a["DnsNameResolverBuilderTest.java"] 4c6eeca5_e0db_feb7_53f9_c4c6c56dbf49 -->|defined in| cdcbd500_6a41_b94e_fe5d_26da5f79538a e70f04b1_dc94_7e00_d8bb_142be963e9ea["DnsServerAddressStream()"] 4c6eeca5_e0db_feb7_53f9_c4c6c56dbf49 -->|method| e70f04b1_dc94_7e00_d8bb_142be963e9ea e3edbf68_59c6_4fac_ad3c_9ee56da40791["cache()"] 4c6eeca5_e0db_feb7_53f9_c4c6c56dbf49 -->|method| e3edbf68_59c6_4fac_ad3c_9ee56da40791 2d292218_666e_1299_9210_bc92ef7dc459["clear()"] 4c6eeca5_e0db_feb7_53f9_c4c6c56dbf49 -->|method| 2d292218_666e_1299_9210_bc92ef7dc459
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverBuilderTest.java lines 227–248
private static final class TestAuthoritativeDnsServerCache implements AuthoritativeDnsServerCache {
@Override
public DnsServerAddressStream get(String hostname) {
return null;
}
@Override
public void cache(String hostname, InetSocketAddress address, long originalTtl, EventLoop loop) {
//no-op
}
@Override
public void clear() {
//no-op
}
@Override
public boolean clear(String hostname) {
return false;
}
}
Source
Frequently Asked Questions
What is the TestAuthoritativeDnsServerCache class?
TestAuthoritativeDnsServerCache is a class in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverBuilderTest.java.
Where is TestAuthoritativeDnsServerCache defined?
TestAuthoritativeDnsServerCache is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverBuilderTest.java at line 227.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free