testCacheExceptionIsSafe() — netty Function Reference
Architecture documentation for the testCacheExceptionIsSafe() function in DefaultDnsCacheTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 141f4968_63f0_bcdc_e323_11b37f793fd0["testCacheExceptionIsSafe()"] 6fc766f6_eb26_5b64_4561_08621961737e["DefaultDnsCacheTest"] 141f4968_63f0_bcdc_e323_11b37f793fd0 -->|defined in| 6fc766f6_eb26_5b64_4561_08621961737e 9655cb51_b4d5_792c_29e2_0b4cbaf764d3["testSuppressed()"] 141f4968_63f0_bcdc_e323_11b37f793fd0 -->|calls| 9655cb51_b4d5_792c_29e2_0b4cbaf764d3 style 141f4968_63f0_bcdc_e323_11b37f793fd0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java lines 207–220
@Test
public void testCacheExceptionIsSafe() throws Exception {
EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, NioIoHandler.newFactory());
try {
EventLoop loop = group.next();
final DefaultDnsCache cache = new DefaultDnsCache(1, 100, 100);
testSuppressed(cache, new UnknownHostException("test"), loop);
testSuppressed(cache, new Throwable("test"), loop);
} finally {
group.shutdownGracefully();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testCacheExceptionIsSafe() do?
testCacheExceptionIsSafe() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java.
Where is testCacheExceptionIsSafe() defined?
testCacheExceptionIsSafe() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DefaultDnsCacheTest.java at line 207.
What does testCacheExceptionIsSafe() call?
testCacheExceptionIsSafe() calls 1 function(s): testSuppressed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free