testFastThreadLocalInitialValueWithUnset() — netty Function Reference
Architecture documentation for the testFastThreadLocalInitialValueWithUnset() function in FastThreadLocalTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6eff5d92_0c30_1959_2155_96a18a4f50bd["testFastThreadLocalInitialValueWithUnset()"] c9cb652b_4141_8af2_1f8b_c47765bb30f9["FastThreadLocalTest"] 6eff5d92_0c30_1959_2155_96a18a4f50bd -->|defined in| c9cb652b_4141_8af2_1f8b_c47765bb30f9 7fb6cd58_f112_73b3_6216_2819f285c975["run()"] 6eff5d92_0c30_1959_2155_96a18a4f50bd -->|calls| 7fb6cd58_f112_73b3_6216_2819f285c975 style 6eff5d92_0c30_1959_2155_96a18a4f50bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java lines 430–453
@Test
public void testFastThreadLocalInitialValueWithUnset() throws Exception {
final AtomicReference<Throwable> throwable = new AtomicReference<Throwable>();
final FastThreadLocal fst = new FastThreadLocal() {
@Override
protected Object initialValue() throws Exception {
return InternalThreadLocalMap.UNSET;
}
};
Runnable runnable = new Runnable() {
@Override
public void run() {
try {
fst.get();
} catch (Throwable t) {
throwable.set(t);
}
}
};
FastThreadLocalThread fastThreadLocalThread = new FastThreadLocalThread(runnable);
fastThreadLocalThread.start();
fastThreadLocalThread.join();
assertInstanceOf(IllegalArgumentException.class, throwable.get());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testFastThreadLocalInitialValueWithUnset() do?
testFastThreadLocalInitialValueWithUnset() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java.
Where is testFastThreadLocalInitialValueWithUnset() defined?
testFastThreadLocalInitialValueWithUnset() is defined in common/src/test/java/io/netty/util/concurrent/FastThreadLocalTest.java at line 430.
What does testFastThreadLocalInitialValueWithUnset() call?
testFastThreadLocalInitialValueWithUnset() calls 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free