Home / Function/ shutdownBeforeStart() — netty Function Reference

shutdownBeforeStart() — netty Function Reference

Architecture documentation for the shutdownBeforeStart() function in AbstractSingleThreadEventLoopTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8aaf6d39_4799_7d00_5dfa_97001ead14a6["shutdownBeforeStart()"]
  eb487d77_b896_e5c3_20f1_2b7144dc7cf5["AbstractSingleThreadEventLoopTest"]
  8aaf6d39_4799_7d00_5dfa_97001ead14a6 -->|defined in| eb487d77_b896_e5c3_20f1_2b7144dc7cf5
  style 8aaf6d39_4799_7d00_5dfa_97001ead14a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java lines 123–130

    @Test
    @SuppressWarnings("deprecation")
    public void shutdownBeforeStart() throws Exception {
        EventLoopGroup group = newEventLoopGroup();
        assertFalse(group.awaitTermination(2, TimeUnit.MILLISECONDS));
        group.shutdown();
        assertTrue(group.awaitTermination(200, TimeUnit.MILLISECONDS));
    }

Domain

Subdomains

Frequently Asked Questions

What does shutdownBeforeStart() do?
shutdownBeforeStart() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java.
Where is shutdownBeforeStart() defined?
shutdownBeforeStart() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java at line 123.

Analyze Your Own Codebase

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

Try Supermodel Free