DefaultResourceLeakDetectorFactory() — netty Function Reference
Architecture documentation for the DefaultResourceLeakDetectorFactory() function in ResourceLeakDetectorFactory.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c60c5afd_0eec_4cc2_2360_bd27a5bf6351["DefaultResourceLeakDetectorFactory()"] a2baa9f7_c2e2_a3ea_bda8_069d2223e0f6["DefaultResourceLeakDetectorFactory"] c60c5afd_0eec_4cc2_2360_bd27a5bf6351 -->|defined in| a2baa9f7_c2e2_a3ea_bda8_069d2223e0f6 eaf52ecb_4534_3352_92bb_972a9a81bad9["obsoleteCustomClassConstructor()"] c60c5afd_0eec_4cc2_2360_bd27a5bf6351 -->|calls| eaf52ecb_4534_3352_92bb_972a9a81bad9 c4d6577f_c030_0f22_6a7c_461c9154c24a["customClassConstructor()"] c60c5afd_0eec_4cc2_2360_bd27a5bf6351 -->|calls| c4d6577f_c030_0f22_6a7c_461c9154c24a style c60c5afd_0eec_4cc2_2360_bd27a5bf6351 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/ResourceLeakDetectorFactory.java lines 102–116
DefaultResourceLeakDetectorFactory() {
String customLeakDetector;
try {
customLeakDetector = SystemPropertyUtil.get("io.netty.customResourceLeakDetector");
} catch (Throwable cause) {
logger.error("Could not access System property: io.netty.customResourceLeakDetector", cause);
customLeakDetector = null;
}
if (customLeakDetector == null) {
obsoleteCustomClassConstructor = customClassConstructor = null;
} else {
obsoleteCustomClassConstructor = obsoleteCustomClassConstructor(customLeakDetector);
customClassConstructor = customClassConstructor(customLeakDetector);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DefaultResourceLeakDetectorFactory() do?
DefaultResourceLeakDetectorFactory() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/ResourceLeakDetectorFactory.java.
Where is DefaultResourceLeakDetectorFactory() defined?
DefaultResourceLeakDetectorFactory() is defined in common/src/main/java/io/netty/util/ResourceLeakDetectorFactory.java at line 102.
What does DefaultResourceLeakDetectorFactory() call?
DefaultResourceLeakDetectorFactory() calls 2 function(s): customClassConstructor, obsoleteCustomClassConstructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free