TimerTask() — netty Function Reference
Architecture documentation for the TimerTask() function in HashedWheelTimerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c46ba577_0225_1b73_1919_e2b7cb5a1767["TimerTask()"] 00b49e45_9607_bed0_2d5f_fd3bdc9b959f["HashedWheelTimerTest"] c46ba577_0225_1b73_1919_e2b7cb5a1767 -->|defined in| 00b49e45_9607_bed0_2d5f_fd3bdc9b959f 08d3d16d_15b9_a53c_2ca0_c1ec2018dad3["testScheduleTimeoutShouldNotRunBeforeDelay()"] 08d3d16d_15b9_a53c_2ca0_c1ec2018dad3 -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 630af61b_3921_71fc_0f7d_32338de39c60["testScheduleTimeoutShouldRunAfterDelay()"] 630af61b_3921_71fc_0f7d_32338de39c60 -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 4afc3817_5801_81bf_8cb4_ce5d8a87bd0c["testStopTimer()"] 4afc3817_5801_81bf_8cb4_ce5d8a87bd0c -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 890ee8a4_685e_5d59_b0b2_0694b06fb41a["testTimerShouldThrowExceptionAfterShutdownForNewTimeouts()"] 890ee8a4_685e_5d59_b0b2_0694b06fb41a -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 4fb9102e_2e65_98d1_2694_2b29203c606c["testTimerOverflowWheelLength()"] 4fb9102e_2e65_98d1_2694_2b29203c606c -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 7becbeb5_da6a_7c11_06f2_e14ef82a1dd4["testExecutionOnTime()"] 7becbeb5_da6a_7c11_06f2_e14ef82a1dd4 -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 05850959_622a_2869_eb39_466a9901789c["testExecutionOnTaskExecutor()"] 05850959_622a_2869_eb39_466a9901789c -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb["testOverflow()"] 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 f0b9c669_7bcf_edbc_f596_573fb64e92ab["testStopTimerCancelsPendingTasks()"] f0b9c669_7bcf_edbc_f596_573fb64e92ab -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 3b975c3b_3f45_bf67_3291_ba277b466824["cancelWillCallCallback()"] 3b975c3b_3f45_bf67_3291_ba277b466824 -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 c434fe03_3900_a539_0c94_32d57f1cf586["testPendingTimeoutsShouldBeCountedCorrectlyWhenTimeoutCancelledWithinGoalTick()"] c434fe03_3900_a539_0c94_32d57f1cf586 -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 style c46ba577_0225_1b73_1919_e2b7cb5a1767 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/HashedWheelTimerTest.java lines 352–358
private static TimerTask createNoOpTimerTask() {
return new TimerTask() {
@Override
public void run(final Timeout timeout) throws Exception {
}
};
}
Domain
Subdomains
Called By
- cancelWillCallCallback()
- testExecutionOnTaskExecutor()
- testExecutionOnTime()
- testOverflow()
- testPendingTimeoutsShouldBeCountedCorrectlyWhenTimeoutCancelledWithinGoalTick()
- testScheduleTimeoutShouldNotRunBeforeDelay()
- testScheduleTimeoutShouldRunAfterDelay()
- testStopTimer()
- testStopTimerCancelsPendingTasks()
- testTimerOverflowWheelLength()
- testTimerShouldThrowExceptionAfterShutdownForNewTimeouts()
Source
Frequently Asked Questions
What does TimerTask() do?
TimerTask() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java.
Where is TimerTask() defined?
TimerTask() is defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java at line 352.
What calls TimerTask()?
TimerTask() is called by 11 function(s): cancelWillCallCallback, testExecutionOnTaskExecutor, testExecutionOnTime, testOverflow, testPendingTimeoutsShouldBeCountedCorrectlyWhenTimeoutCancelledWithinGoalTick, testScheduleTimeoutShouldNotRunBeforeDelay, testScheduleTimeoutShouldRunAfterDelay, testStopTimer, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free