Home / Function/ ResourceScope() — netty Function Reference

ResourceScope() — netty Function Reference

Architecture documentation for the ResourceScope() function in LeakPresenceExtension.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9e67bea4_72d5_7c77_8b5c_bfd0198ed575["ResourceScope()"]
  728150d9_cfb5_1a1b_d50c_aa9e8a1ab502["WithTransferableScope"]
  9e67bea4_72d5_7c77_8b5c_bfd0198ed575 -->|defined in| 728150d9_cfb5_1a1b_d50c_aa9e8a1ab502
  c8c6b3fb_0903_734e_5361_474d6783dcba["beforeAll()"]
  c8c6b3fb_0903_734e_5361_474d6783dcba -->|calls| 9e67bea4_72d5_7c77_8b5c_bfd0198ed575
  style 9e67bea4_72d5_7c77_8b5c_bfd0198ed575 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java lines 124–131

        @Override
        protected ResourceScope currentScope() throws AllocationProhibitedException {
            ResourceScope scope = SCOPE.get();
            if (scope == null) {
                throw new AllocationProhibitedException("Resource created outside test?");
            }
            return scope;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does ResourceScope() do?
ResourceScope() is a function in the netty codebase, defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java.
Where is ResourceScope() defined?
ResourceScope() is defined in testsuite-common/src/main/java/io/netty/util/test/LeakPresenceExtension.java at line 124.
What calls ResourceScope()?
ResourceScope() is called by 1 function(s): beforeAll.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free