Home / Function/ remove() — netty Function Reference

remove() — netty Function Reference

Architecture documentation for the remove() function in InternalThreadLocalMap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3353f4a0_76ab_1521_137f_b4d37700f757["remove()"]
  d6ca0ae0_1399_e584_fef6_bfc2f1e3e146["InternalThreadLocalMap"]
  3353f4a0_76ab_1521_137f_b4d37700f757 -->|defined in| d6ca0ae0_1399_e584_fef6_bfc2f1e3e146
  ea1fb144_1f63_3b7a_d34d_c36ae844c9f0["destroy()"]
  ea1fb144_1f63_3b7a_d34d_c36ae844c9f0 -->|calls| 3353f4a0_76ab_1521_137f_b4d37700f757
  style 3353f4a0_76ab_1521_137f_b4d37700f757 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/InternalThreadLocalMap.java lines 136–143

    public static void remove() {
        Thread thread = Thread.currentThread();
        if (thread instanceof FastThreadLocalThread) {
            ((FastThreadLocalThread) thread).setThreadLocalMap(null);
        } else {
            slowThreadLocalMap.remove();
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does remove() do?
remove() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/InternalThreadLocalMap.java.
Where is remove() defined?
remove() is defined in common/src/main/java/io/netty/util/internal/InternalThreadLocalMap.java at line 136.
What calls remove()?
remove() is called by 1 function(s): destroy.

Analyze Your Own Codebase

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

Try Supermodel Free