interceptTestMethod() — netty Function Reference
Architecture documentation for the interceptTestMethod() function in RunInFastThreadLocalThreadExtension.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 808022e9_3e56_80c5_f1c6_6eed3d8dc08b["interceptTestMethod()"] 842d7505_5011_7ffe_3401_74923fe4f670["RunInFastThreadLocalThreadExtension"] 808022e9_3e56_80c5_f1c6_6eed3d8dc08b -->|defined in| 842d7505_5011_7ffe_3401_74923fe4f670 style 808022e9_3e56_80c5_f1c6_6eed3d8dc08b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java lines 35–57
@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;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does interceptTestMethod() do?
interceptTestMethod() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java.
Where is interceptTestMethod() defined?
interceptTestMethod() is defined in common/src/test/java/io/netty/util/RunInFastThreadLocalThreadExtension.java at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free