run() — netty Function Reference
Architecture documentation for the run() function in FastThreadLocalTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7fb6cd58_f112_73b3_6216_2819f285c975["run()"] c5fd914c_a776_01bd_c9fb_0cf5b89e7a40["Worker"] 7fb6cd58_f112_73b3_6216_2819f285c975 -->|defined in| c5fd914c_a776_01bd_c9fb_0cf5b89e7a40 3f581515_c12c_d16f_0df0_8c5ca7e9a218["testRemoveAllFromFTLThread()"] 3f581515_c12c_d16f_0df0_8c5ca7e9a218 -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 74917990_4011_56b2_a6db_1ef007f7ba9f["testMultipleSetRemove()"] 74917990_4011_56b2_a6db_1ef007f7ba9f -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 288bb74d_caad_9d5b_0139_522cfc079a4a["testMultipleSetRemove_multipleThreadLocal()"] 288bb74d_caad_9d5b_0139_522cfc079a4a -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 6ab9cb4b_b38c_1251_6260_1991db795321["testWrapMany()"] 6ab9cb4b_b38c_1251_6260_1991db795321 -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 5d954afa_1341_0a60_d012_38880d7a7dee["testOnRemoveCalled()"] 5d954afa_1341_0a60_d012_38880d7a7dee -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 5a307789_6681_37ee_8046_9f1c850d4d8d["testInternalThreadLocalMapExpand()"] 5a307789_6681_37ee_8046_9f1c850d4d8d -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 6eff5d92_0c30_1959_2155_96a18a4f50bd["testFastThreadLocalInitialValueWithUnset()"] 6eff5d92_0c30_1959_2155_96a18a4f50bd -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 style 7fb6cd58_f112_73b3_6216_2819f285c975 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java lines 206–220
@Override
public void run() {
assertFalse(FastThreadLocalThread.currentThreadWillCleanupFastThreadLocals());
assertFalse(FastThreadLocalThread.currentThreadHasFastThreadLocal());
semaphore.acquireUninterruptibly();
FastThreadLocalThread.runWithFastThreadLocal(() -> {
assertTrue(FastThreadLocalThread.currentThreadWillCleanupFastThreadLocals());
assertTrue(FastThreadLocalThread.currentThreadHasFastThreadLocal());
semaphore.acquireUninterruptibly();
assertTrue(FastThreadLocalThread.currentThreadWillCleanupFastThreadLocals());
assertTrue(FastThreadLocalThread.currentThreadHasFastThreadLocal());
});
assertFalse(FastThreadLocalThread.currentThreadWillCleanupFastThreadLocals());
assertFalse(FastThreadLocalThread.currentThreadHasFastThreadLocal());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java.
Where is run() defined?
run() is defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java at line 206.
What calls run()?
run() is called by 7 function(s): testFastThreadLocalInitialValueWithUnset, testInternalThreadLocalMapExpand, testMultipleSetRemove, testMultipleSetRemove_multipleThreadLocal, testOnRemoveCalled, testRemoveAllFromFTLThread, testWrapMany.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free