clearTimeouts() — netty Function Reference
Architecture documentation for the clearTimeouts() function in HashedWheelTimer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 62a2ff61_68bd_e1a0_10db_cd640e0d9647["clearTimeouts()"] fe86e935_6fee_92f9_eeb5_11302b3b45a5["HashedWheelBucket"] 62a2ff61_68bd_e1a0_10db_cd640e0d9647 -->|defined in| fe86e935_6fee_92f9_eeb5_11302b3b45a5 ea613877_8294_fd85_27b0_0c4903842ef1["run()"] ea613877_8294_fd85_27b0_0c4903842ef1 -->|calls| 62a2ff61_68bd_e1a0_10db_cd640e0d9647 3388ecb7_061a_8574_0a63_73fc87f5993d["isExpired()"] 62a2ff61_68bd_e1a0_10db_cd640e0d9647 -->|calls| 3388ecb7_061a_8574_0a63_73fc87f5993d 5966b70d_fc04_1bcb_0af7_d7180add2531["isCancelled()"] 62a2ff61_68bd_e1a0_10db_cd640e0d9647 -->|calls| 5966b70d_fc04_1bcb_0af7_d7180add2531 style 62a2ff61_68bd_e1a0_10db_cd640e0d9647 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/HashedWheelTimer.java lines 832–843
public void clearTimeouts(Set<Timeout> set) {
for (;;) {
HashedWheelTimeout timeout = pollTimeout();
if (timeout == null) {
return;
}
if (timeout.isExpired() || timeout.isCancelled()) {
continue;
}
set.add(timeout);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does clearTimeouts() do?
clearTimeouts() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/HashedWheelTimer.java.
Where is clearTimeouts() defined?
clearTimeouts() is defined in common/src/main/java/io/netty/util/HashedWheelTimer.java at line 832.
What does clearTimeouts() call?
clearTimeouts() calls 2 function(s): isCancelled, isExpired.
What calls clearTimeouts()?
clearTimeouts() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free