close() — netty Function Reference
Architecture documentation for the close() function in ResourceLeakDetectorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9["close()"] 2ad02b80_a156_241b_a5b2_fa560153892f["LeakAwareResource"] 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9 -->|defined in| 2ad02b80_a156_241b_a5b2_fa560153892f 40cbe14c_de4c_aa61_37d9_4da04da1e233["close()"] 40cbe14c_de4c_aa61_37d9_4da04da1e233 -->|calls| 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9 69f7b95b_cc0c_5af2_9649_3616894c3ecd["testConcurrentUsage()"] 69f7b95b_cc0c_5af2_9649_3616894c3ecd -->|calls| 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9 40cbe14c_de4c_aa61_37d9_4da04da1e233["close()"] 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9 -->|calls| 40cbe14c_de4c_aa61_37d9_4da04da1e233 style 5361c9f6_00c0_29a2_93b3_ee60aeb8a5d9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java lines 182–190
@Override
public boolean close() {
// Using ResourceLeakDetector.close(...) to prove this fixes the leak problem reported
// in https://github.com/netty/netty/issues/6034 .
//
// The following implementation would produce a leak:
// return leak.close();
return leak.close(resource);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does close() do?
close() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java.
Where is close() defined?
close() is defined in common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java at line 182.
What does close() call?
close() calls 1 function(s): close.
What calls close()?
close() is called by 2 function(s): close, testConcurrentUsage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free