assertNotEmptyAndRelease() — netty Function Reference
Architecture documentation for the assertNotEmptyAndRelease() function in DnsNameResolverTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 19c3ba33_bda1_1926_47cf_50b766581ee7["assertNotEmptyAndRelease()"] b6215f36_0afe_a284_a3fd_3999e90a8e97["DnsNameResolverTest"] 19c3ba33_bda1_1926_47cf_50b766581ee7 -->|defined in| b6215f36_0afe_a284_a3fd_3999e90a8e97 a831d3b9_bdfb_bbf4_0b78_794c3d71aba8["testSrvWithCnameNotCached()"] a831d3b9_bdfb_bbf4_0b78_794c3d71aba8 -->|calls| 19c3ba33_bda1_1926_47cf_50b766581ee7 f68a278a_d1e5_7598_a2d3_c261c81029bc["get()"] 19c3ba33_bda1_1926_47cf_50b766581ee7 -->|calls| f68a278a_d1e5_7598_a2d3_c261c81029bc style 19c3ba33_bda1_1926_47cf_50b766581ee7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java lines 3950–3956
private static void assertNotEmptyAndRelease(Future<List<DnsRecord>> recordsFuture) throws Exception {
List<DnsRecord> records = recordsFuture.get();
assertFalse(records.isEmpty());
for (DnsRecord record : records) {
ReferenceCountUtil.release(record);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does assertNotEmptyAndRelease() do?
assertNotEmptyAndRelease() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java.
Where is assertNotEmptyAndRelease() defined?
assertNotEmptyAndRelease() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java at line 3950.
What does assertNotEmptyAndRelease() call?
assertNotEmptyAndRelease() calls 1 function(s): get.
What calls assertNotEmptyAndRelease()?
assertNotEmptyAndRelease() is called by 1 function(s): testSrvWithCnameNotCached.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free