Home / Function/ testScheduleBigDelayNotOverflow() — netty Function Reference

testScheduleBigDelayNotOverflow() — netty Function Reference

Architecture documentation for the testScheduleBigDelayNotOverflow() function in NioEventLoopTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e99be7d1_59c8_ee17_cd28_2086b0f2cd86["testScheduleBigDelayNotOverflow()"]
  744640b8_9d8b_07b6_4d95_821961ea4e63["NioEventLoopTest"]
  e99be7d1_59c8_ee17_cd28_2086b0f2cd86 -->|defined in| 744640b8_9d8b_07b6_4d95_821961ea4e63
  style e99be7d1_59c8_ee17_cd28_2086b0f2cd86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/nio/NioEventLoopTest.java lines 106–121

    @Test
    public void testScheduleBigDelayNotOverflow() {
        EventLoopGroup group = new MultiThreadIoEventLoopGroup(1, NioIoHandler.newFactory());

        final EventLoop el = group.next();
        Future<?> future = el.schedule(new Runnable() {
            @Override
            public void run() {
                // NOOP
            }
        }, Long.MAX_VALUE, TimeUnit.MILLISECONDS);

        assertFalse(future.awaitUninterruptibly(1000));
        assertTrue(future.cancel(true));
        group.shutdownGracefully();
    }

Domain

Subdomains

Frequently Asked Questions

What does testScheduleBigDelayNotOverflow() do?
testScheduleBigDelayNotOverflow() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/nio/NioEventLoopTest.java.
Where is testScheduleBigDelayNotOverflow() defined?
testScheduleBigDelayNotOverflow() is defined in transport/src/test/java/io/netty/channel/nio/NioEventLoopTest.java at line 106.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free