testExpireWithTTL0() — netty Function Reference
Architecture documentation for the testExpireWithTTL0() function in DefaultAuthoritativeDnsServerCacheTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9454f74e_7cbf_f109_acae_d3717b8ff978["testExpireWithTTL0()"] 4a9246bd_af88_49ac_ddb5_b152cf30ca29["DefaultAuthoritativeDnsServerCacheTest"] 9454f74e_7cbf_f109_acae_d3717b8ff978 -->|defined in| 4a9246bd_af88_49ac_ddb5_b152cf30ca29 2b038621_f351_0e35_7090_5bf186dc8458["testExpireWithDifferentTTLs()"] 2b038621_f351_0e35_7090_5bf186dc8458 -->|calls| 9454f74e_7cbf_f109_acae_d3717b8ff978 style 9454f74e_7cbf_f109_acae_d3717b8ff978 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/DefaultAuthoritativeDnsServerCacheTest.java lines 76–86
private static void testExpireWithTTL0(int days) {
EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, LocalIoHandler.newFactory());
try {
EventLoop loop = group.next();
final DefaultAuthoritativeDnsServerCache cache = new DefaultAuthoritativeDnsServerCache();
cache.cache("netty.io", new InetSocketAddress(NetUtil.LOCALHOST, 53), days, loop);
} finally {
group.shutdownGracefully();
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does testExpireWithTTL0() do?
testExpireWithTTL0() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultAuthoritativeDnsServerCacheTest.java.
Where is testExpireWithTTL0() defined?
testExpireWithTTL0() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultAuthoritativeDnsServerCacheTest.java at line 76.
What calls testExpireWithTTL0()?
testExpireWithTTL0() is called by 1 function(s): testExpireWithDifferentTTLs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free