Home / Function/ currentThreadHasFastThreadLocal() — netty Function Reference

currentThreadHasFastThreadLocal() — netty Function Reference

Architecture documentation for the currentThreadHasFastThreadLocal() function in FastThreadLocalThread.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bd6323d6_3ffe_e3ce_1b1e_8e95bba76c2f["currentThreadHasFastThreadLocal()"]
  2feb1cd5_2395_f297_19e0_09fabbc500ff["FastThreadLocalThread"]
  bd6323d6_3ffe_e3ce_1b1e_8e95bba76c2f -->|defined in| 2feb1cd5_2395_f297_19e0_09fabbc500ff
  9f44e7b5_19cd_7006_b866_f628598a18f8["isFastThreadLocalVirtualThread()"]
  bd6323d6_3ffe_e3ce_1b1e_8e95bba76c2f -->|calls| 9f44e7b5_19cd_7006_b866_f628598a18f8
  style bd6323d6_3ffe_e3ce_1b1e_8e95bba76c2f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java lines 142–145

    public static boolean currentThreadHasFastThreadLocal() {
        // intentionally doesn't accept a thread parameter to work with ScopedValue in the future
        return currentThread() instanceof FastThreadLocalThread || isFastThreadLocalVirtualThread();
    }

Domain

Subdomains

Frequently Asked Questions

What does currentThreadHasFastThreadLocal() do?
currentThreadHasFastThreadLocal() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java.
Where is currentThreadHasFastThreadLocal() defined?
currentThreadHasFastThreadLocal() is defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java at line 142.
What does currentThreadHasFastThreadLocal() call?
currentThreadHasFastThreadLocal() calls 1 function(s): isFastThreadLocalVirtualThread.

Analyze Your Own Codebase

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

Try Supermodel Free