testOverflow() — netty Function Reference
Architecture documentation for the testOverflow() function in HashedWheelTimerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb["testOverflow()"] 00b49e45_9607_bed0_2d5f_fd3bdc9b959f["HashedWheelTimerTest"] 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb -->|defined in| 00b49e45_9607_bed0_2d5f_fd3bdc9b959f c46ba577_0225_1b73_1919_e2b7cb5a1767["TimerTask()"] 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb -->|calls| c46ba577_0225_1b73_1919_e2b7cb5a1767 style 88d3dd85_6ac5_0ea4_5ad7_fdfdf4217edb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/HashedWheelTimerTest.java lines 270–283
@Test
public void testOverflow() throws InterruptedException {
final HashedWheelTimer timer = new HashedWheelTimer();
final CountDownLatch latch = new CountDownLatch(1);
Timeout timeout = timer.newTimeout(new TimerTask() {
@Override
public void run(Timeout timeout) {
latch.countDown();
}
}, Long.MAX_VALUE, TimeUnit.MILLISECONDS);
assertFalse(latch.await(1, TimeUnit.SECONDS));
timeout.cancel();
timer.stop();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testOverflow() do?
testOverflow() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java.
Where is testOverflow() defined?
testOverflow() is defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java at line 270.
What does testOverflow() call?
testOverflow() calls 1 function(s): TimerTask.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free