Home / Function/ testRecycleDisable() — netty Function Reference

testRecycleDisable() — netty Function Reference

Architecture documentation for the testRecycleDisable() function in RecyclerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2e4cb8b6_fbe8_043b_a4d2_d8f7f4a943b5["testRecycleDisable()"]
  46ac14b1_2382_5afa_98f3_803182070b38["RecyclerTest"]
  2e4cb8b6_fbe8_043b_a4d2_d8f7f4a943b5 -->|defined in| 46ac14b1_2382_5afa_98f3_803182070b38
  87dca999_f804_a974_e326_fd8f527f1246["newRecycler()"]
  2e4cb8b6_fbe8_043b_a4d2_d8f7f4a943b5 -->|calls| 87dca999_f804_a974_e326_fd8f527f1246
  43ab40f6_52e7_0fe9_a79f_220021939268["recycle()"]
  2e4cb8b6_fbe8_043b_a4d2_d8f7f4a943b5 -->|calls| 43ab40f6_52e7_0fe9_a79f_220021939268
  style 2e4cb8b6_fbe8_043b_a4d2_d8f7f4a943b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/RecyclerTest.java lines 398–407

    @ParameterizedTest
    @MethodSource("ownerTypeAndUnguarded")
    public void testRecycleDisable(OwnerType ownerType, boolean unguarded) {
        Recycler<HandledObject> recycler = newRecycler(ownerType, unguarded, -1);
        HandledObject object = recycler.get();
        object.recycle();
        HandledObject object2 = recycler.get();
        assertNotSame(object, object2);
        object2.recycle();
    }

Domain

Subdomains

Frequently Asked Questions

What does testRecycleDisable() do?
testRecycleDisable() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/RecyclerTest.java.
Where is testRecycleDisable() defined?
testRecycleDisable() is defined in common/src/test/java/io/netty/util/RecyclerTest.java at line 398.
What does testRecycleDisable() call?
testRecycleDisable() calls 2 function(s): newRecycler, recycle.

Analyze Your Own Codebase

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

Try Supermodel Free