Home / Function/ resetRefCnt() — netty Function Reference

resetRefCnt() — netty Function Reference

Architecture documentation for the resetRefCnt() function in RefCnt.java from the netty codebase.

Function java CommonUtil Internal calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  ed7c5701_74e9_8adc_cde1_618b30cb1b87["resetRefCnt()"]
  9f3f6929_64f5_00fb_95fc_73dbc8960435["RefCnt"]
  ed7c5701_74e9_8adc_cde1_618b30cb1b87 -->|defined in| 9f3f6929_64f5_00fb_95fc_73dbc8960435
  d39a2975_fa6e_fa52_4c0c_534faa39ec9e["resetRefCnt()"]
  d39a2975_fa6e_fa52_4c0c_534faa39ec9e -->|calls| ed7c5701_74e9_8adc_cde1_618b30cb1b87
  46e5c90e_7dbb_8672_3093_83b838ca17c5["resetRefCnt()"]
  46e5c90e_7dbb_8672_3093_83b838ca17c5 -->|calls| ed7c5701_74e9_8adc_cde1_618b30cb1b87
  d77cfcd8_a3dd_bc63_5192_3b89d3c076c5["resetRefCnt()"]
  ed7c5701_74e9_8adc_cde1_618b30cb1b87 -->|calls| d77cfcd8_a3dd_bc63_5192_3b89d3c076c5
  style ed7c5701_74e9_8adc_cde1_618b30cb1b87 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/RefCnt.java lines 223–236

    public static void resetRefCnt(RefCnt ref) {
        switch (REF_CNT_IMPL) {
        case UNSAFE:
            UnsafeRefCnt.resetRefCnt(ref);
            break;
        case VAR_HANDLE:
            VarHandleRefCnt.resetRefCnt(ref);
            break;
        case ATOMIC_UPDATER:
        default:
            AtomicRefCnt.resetRefCnt(ref);
            break;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does resetRefCnt() do?
resetRefCnt() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/RefCnt.java.
Where is resetRefCnt() defined?
resetRefCnt() is defined in common/src/main/java/io/netty/util/internal/RefCnt.java at line 223.
What does resetRefCnt() call?
resetRefCnt() calls 1 function(s): resetRefCnt.
What calls resetRefCnt()?
resetRefCnt() is called by 2 function(s): resetRefCnt, resetRefCnt.

Analyze Your Own Codebase

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

Try Supermodel Free