ThreadProperties() — netty Function Reference
Architecture documentation for the ThreadProperties() function in SingleThreadEventExecutor.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fc057848_f6d2_48f1_14c3_d891f8310b55["ThreadProperties()"] c9189467_acbc_07ea_3a8c_fecfe22ec122["SingleThreadEventExecutor"] fc057848_f6d2_48f1_14c3_d891f8310b55 -->|defined in| c9189467_acbc_07ea_3a8c_fecfe22ec122 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a["inEventLoop()"] fc057848_f6d2_48f1_14c3_d891f8310b55 -->|calls| 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a 64f5cffa_64a4_3fec_d1c0_d5866ef1ce0d["DefaultThreadProperties()"] fc057848_f6d2_48f1_14c3_d891f8310b55 -->|calls| 64f5cffa_64a4_3fec_d1c0_d5866ef1ce0d style fc057848_f6d2_48f1_14c3_d891f8310b55 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java lines 1090–1108
public final ThreadProperties threadProperties() {
ThreadProperties threadProperties = this.threadProperties;
if (threadProperties == null) {
Thread thread = this.thread;
if (thread == null) {
assert !inEventLoop();
submit(NOOP_TASK).syncUninterruptibly();
thread = this.thread;
assert thread != null;
}
threadProperties = new DefaultThreadProperties(thread);
if (!PROPERTIES_UPDATER.compareAndSet(this, null, threadProperties)) {
threadProperties = this.threadProperties;
}
}
return threadProperties;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ThreadProperties() do?
ThreadProperties() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java.
Where is ThreadProperties() defined?
ThreadProperties() is defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java at line 1090.
What does ThreadProperties() call?
ThreadProperties() calls 2 function(s): DefaultThreadProperties, inEventLoop.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free