Home / Function/ shutdownNotSoGracefully() — netty Function Reference

shutdownNotSoGracefully() — netty Function Reference

Architecture documentation for the shutdownNotSoGracefully() function in IoUringEventLoopTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  09b4f668_73d2_843b_5df2_18a502fc5aa0["shutdownNotSoGracefully()"]
  bf8a255d_67ed_191c_39f9_4a9ca57b3792["IoUringEventLoopTest"]
  09b4f668_73d2_843b_5df2_18a502fc5aa0 -->|defined in| bf8a255d_67ed_191c_39f9_4a9ca57b3792
  style 09b4f668_73d2_843b_5df2_18a502fc5aa0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringEventLoopTest.java lines 85–93

    @RepeatedTest(100)
    public void shutdownNotSoGracefully() throws Exception {
        EventLoopGroup group =  new MultiThreadIoEventLoopGroup(1, newIoHandlerFactory());
        CountDownLatch latch = new CountDownLatch(1);
        group.submit(() -> latch.countDown());
        latch.await(5, TimeUnit.SECONDS);
        assertTrue(group.shutdownGracefully(0L, 0L, TimeUnit.NANOSECONDS)
                .await(1500L, TimeUnit.MILLISECONDS));
    }

Domain

Subdomains

Frequently Asked Questions

What does shutdownNotSoGracefully() do?
shutdownNotSoGracefully() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringEventLoopTest.java.
Where is shutdownNotSoGracefully() defined?
shutdownNotSoGracefully() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringEventLoopTest.java at line 85.

Analyze Your Own Codebase

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

Try Supermodel Free