TestRunnable Class — netty Architecture
Architecture documentation for the TestRunnable class in GlobalEventExecutorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7813b4db_1ed9_a883_7bae_762334e30670["TestRunnable"] 44309757_2eb4_5cd2_89e2_4f4eaea13a2f["GlobalEventExecutorTest.java"] 7813b4db_1ed9_a883_7bae_762334e30670 -->|defined in| 44309757_2eb4_5cd2_89e2_4f4eaea13a2f c3766603_5691_d3ab_0426_40fc291e9fe8["TestRunnable()"] 7813b4db_1ed9_a883_7bae_762334e30670 -->|method| c3766603_5691_d3ab_0426_40fc291e9fe8 146f29d4_d7b0_af2d_af77_7a421da95324["run()"] 7813b4db_1ed9_a883_7bae_762334e30670 -->|method| 146f29d4_d7b0_af2d_af77_7a421da95324
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java lines 159–176
private static final class TestRunnable implements Runnable {
final AtomicBoolean ran = new AtomicBoolean();
final long delay;
TestRunnable(long delay) {
this.delay = delay;
}
@Override
public void run() {
try {
Thread.sleep(delay);
ran.set(true);
} catch (InterruptedException ignored) {
// Ignore
}
}
}
Source
Frequently Asked Questions
What is the TestRunnable class?
TestRunnable is a class in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java.
Where is TestRunnable defined?
TestRunnable is defined in common/src/test/java/io/netty/util/concurrent/GlobalEventExecutorTest.java at line 159.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free