contains() — netty Function Reference
Architecture documentation for the contains() function in FastThreadLocalThread.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3b1a506e_9004_a3cf_45ac_f08e7950c618["contains()"] 670e3e82_866d_03e0_0560_6f40fa2a4d77["FallbackThreadSet"] 3b1a506e_9004_a3cf_45ac_f08e7950c618 -->|defined in| 670e3e82_866d_03e0_0560_6f40fa2a4d77 9f44e7b5_19cd_7006_b866_f628598a18f8["isFastThreadLocalVirtualThread()"] 9f44e7b5_19cd_7006_b866_f628598a18f8 -->|calls| 3b1a506e_9004_a3cf_45ac_f08e7950c618 975ee699_9cd3_a96e_0cf6_88607760d9ab["runWithFastThreadLocal()"] 975ee699_9cd3_a96e_0cf6_88607760d9ab -->|calls| 3b1a506e_9004_a3cf_45ac_f08e7950c618 style 3b1a506e_9004_a3cf_45ac_f08e7950c618 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java lines 215–221
public boolean contains(long threadId) {
long key = threadId >>> 6;
long bit = 1L << (threadId & 63);
long bitmap = map.get(key);
return (bitmap & bit) != 0;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does contains() do?
contains() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java.
Where is contains() defined?
contains() is defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java at line 215.
What calls contains()?
contains() is called by 2 function(s): isFastThreadLocalVirtualThread, runWithFastThreadLocal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free