RunInFastThreadLocalThreadExtension Class — netty Architecture
Architecture documentation for the RunInFastThreadLocalThreadExtension class in RunInFastThreadLocalThreadExtension.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 842d7505_5011_7ffe_3401_74923fe4f670["RunInFastThreadLocalThreadExtension"] a616f1ec_dda2_b2cd_d940_8b15c33244ff["RunInFastThreadLocalThreadExtension.java"] 842d7505_5011_7ffe_3401_74923fe4f670 -->|defined in| a616f1ec_dda2_b2cd_d940_8b15c33244ff 808022e9_3e56_80c5_f1c6_6eed3d8dc08b["interceptTestMethod()"] 842d7505_5011_7ffe_3401_74923fe4f670 -->|method| 808022e9_3e56_80c5_f1c6_6eed3d8dc08b
Relationship Graph
Source Code
common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java lines 34–58
public class RunInFastThreadLocalThreadExtension implements InvocationInterceptor {
@Override
public void interceptTestMethod(
final Invocation<Void> invocation,
final ReflectiveInvocationContext<Method> invocationContext,
final ExtensionContext extensionContext) throws Throwable {
final AtomicReference<Throwable> throwable = new AtomicReference<Throwable>();
Thread thread = new FastThreadLocalThread(new Runnable() {
@Override
public void run() {
try {
invocation.proceed();
} catch (Throwable t) {
throwable.set(t);
}
}
});
thread.start();
thread.join();
Throwable t = throwable.get();
if (t != null) {
throw t;
}
}
}
Source
Frequently Asked Questions
What is the RunInFastThreadLocalThreadExtension class?
RunInFastThreadLocalThreadExtension is a class in the netty codebase, defined in common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java.
Where is RunInFastThreadLocalThreadExtension defined?
RunInFastThreadLocalThreadExtension is defined in common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java at line 34.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free