currentThreadWillCleanupFastThreadLocals() — netty Function Reference
Architecture documentation for the currentThreadWillCleanupFastThreadLocals() function in FastThreadLocalThread.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 84a26bad_2503_3442_66cd_aac6154013cb["currentThreadWillCleanupFastThreadLocals()"] 2feb1cd5_2395_f297_19e0_09fabbc500ff["FastThreadLocalThread"] 84a26bad_2503_3442_66cd_aac6154013cb -->|defined in| 2feb1cd5_2395_f297_19e0_09fabbc500ff a1dcfe07_1ba0_ddfc_a901_67a5d2b1be2f["willCleanupFastThreadLocals()"] 84a26bad_2503_3442_66cd_aac6154013cb -->|calls| a1dcfe07_1ba0_ddfc_a901_67a5d2b1be2f 9f44e7b5_19cd_7006_b866_f628598a18f8["isFastThreadLocalVirtualThread()"] 84a26bad_2503_3442_66cd_aac6154013cb -->|calls| 9f44e7b5_19cd_7006_b866_f628598a18f8 style 84a26bad_2503_3442_66cd_aac6154013cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java lines 130–137
public static boolean currentThreadWillCleanupFastThreadLocals() {
// intentionally doesn't accept a thread parameter to work with ScopedValue in the future
Thread currentThread = currentThread();
if (currentThread instanceof FastThreadLocalThread) {
return ((FastThreadLocalThread) currentThread).willCleanupFastThreadLocals();
}
return isFastThreadLocalVirtualThread();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does currentThreadWillCleanupFastThreadLocals() do?
currentThreadWillCleanupFastThreadLocals() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java.
Where is currentThreadWillCleanupFastThreadLocals() defined?
currentThreadWillCleanupFastThreadLocals() is defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java at line 130.
What does currentThreadWillCleanupFastThreadLocals() call?
currentThreadWillCleanupFastThreadLocals() calls 2 function(s): isFastThreadLocalVirtualThread, willCleanupFastThreadLocals.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free