setThreadLocalMap() — netty Function Reference
Architecture documentation for the setThreadLocalMap() function in FastThreadLocalThread.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d2f215f1_60e8_fd7c_c2b0_e74250411e5b["setThreadLocalMap()"] 2feb1cd5_2395_f297_19e0_09fabbc500ff["FastThreadLocalThread"] d2f215f1_60e8_fd7c_c2b0_e74250411e5b -->|defined in| 2feb1cd5_2395_f297_19e0_09fabbc500ff style d2f215f1_60e8_fd7c_c2b0_e74250411e5b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java lines 98–104
public final void setThreadLocalMap(InternalThreadLocalMap threadLocalMap) {
if (this != Thread.currentThread() && logger.isWarnEnabled()) {
logger.warn(new RuntimeException("It's not thread-safe to set 'threadLocalMap' " +
"which doesn't belong to the caller thread"));
}
this.threadLocalMap = threadLocalMap;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setThreadLocalMap() do?
setThreadLocalMap() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java.
Where is setThreadLocalMap() defined?
setThreadLocalMap() is defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocalThread.java at line 98.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free