TestEventExecutor Class — netty Architecture
Architecture documentation for the TestEventExecutor class in ThreadPerChannelEventLoopGroupTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c4593b7_2df5_3972_f06f_65017261333f["TestEventExecutor"] 1d770e03_0ce7_365c_d3e3_72d553b4a7d5["ThreadPerChannelEventLoopGroupTest.java"] 7c4593b7_2df5_3972_f06f_65017261333f -->|defined in| 1d770e03_0ce7_365c_d3e3_72d553b4a7d5 f8ee9534_f94b_51d4_12a7_a7f3031ed8ca["TestEventExecutor()"] 7c4593b7_2df5_3972_f06f_65017261333f -->|method| f8ee9534_f94b_51d4_12a7_a7f3031ed8ca b73b2fb6_0ccb_0cc9_b662_8b0b48308f89["run()"] 7c4593b7_2df5_3972_f06f_65017261333f -->|method| b73b2fb6_0ccb_0cc9_b662_8b0b48308f89
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/ThreadPerChannelEventLoopGroupTest.java lines 96–116
private static class TestEventExecutor extends SingleThreadEventExecutor {
TestEventExecutor() {
super(null, new DefaultThreadFactory("test"), false);
}
@Override
protected void run() {
for (;;) {
Runnable task = takeTask();
if (task != null) {
task.run();
updateLastExecutionTime();
}
if (confirmShutdown()) {
break;
}
}
}
}
Source
Frequently Asked Questions
What is the TestEventExecutor class?
TestEventExecutor is a class in the netty codebase, defined in transport/src/test/java/io/netty/channel/ThreadPerChannelEventLoopGroupTest.java.
Where is TestEventExecutor defined?
TestEventExecutor is defined in transport/src/test/java/io/netty/channel/ThreadPerChannelEventLoopGroupTest.java at line 96.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free