testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() — netty Function Reference
Architecture documentation for the testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() function in HashedWheelTimerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2b22fb00_dc3b_d53d_61b2_f282c2215e84["testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted()"] 00b49e45_9607_bed0_2d5f_fd3bdc9b959f["HashedWheelTimerTest"] 2b22fb00_dc3b_d53d_61b2_f282c2215e84 -->|defined in| 00b49e45_9607_bed0_2d5f_fd3bdc9b959f style 2b22fb00_dc3b_d53d_61b2_f282c2215e84 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/HashedWheelTimerTest.java lines 234–251
@Test
@org.junit.jupiter.api.Timeout(value = 3000, unit = TimeUnit.MILLISECONDS)
public void testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted()
throws InterruptedException {
final CountDownLatch latch = new CountDownLatch(1);
final HashedWheelTimer timer = new HashedWheelTimer(Executors.defaultThreadFactory(), 25,
TimeUnit.MILLISECONDS, 4, true, 2);
timer.newTimeout(createNoOpTimerTask(), 5, TimeUnit.SECONDS);
timer.newTimeout(createCountDownLatchTimerTask(latch), 90, TimeUnit.MILLISECONDS);
latch.await();
final CountDownLatch secondLatch = new CountDownLatch(1);
timer.newTimeout(createCountDownLatchTimerTask(secondLatch), 90, TimeUnit.MILLISECONDS);
secondLatch.await();
timer.stop();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() do?
testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java.
Where is testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() defined?
testNewTimeoutShouldStopThrowingRejectedExecutionExceptionWhenExistingTimeoutIsExecuted() is defined in common/src/test/java/io/netty/util/HashedWheelTimerTest.java at line 234.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free