Home / Function/ assertRejection() — netty Function Reference

assertRejection() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  742665b9_81e7_1404_f4ce_86ea73f54955["assertRejection()"]
  eb487d77_b896_e5c3_20f1_2b7144dc7cf5["AbstractSingleThreadEventLoopTest"]
  742665b9_81e7_1404_f4ce_86ea73f54955 -->|defined in| eb487d77_b896_e5c3_20f1_2b7144dc7cf5
  2d5aa692_75dd_63d1_8349_df49dffdb982["gracefulShutdownAfterStart()"]
  2d5aa692_75dd_63d1_8349_df49dffdb982 -->|calls| 742665b9_81e7_1404_f4ce_86ea73f54955
  style 742665b9_81e7_1404_f4ce_86ea73f54955 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java lines 437–444

    private static void assertRejection(EventExecutor loop) {
        try {
            loop.execute(NOOP);
            fail("A task must be rejected after shutdown() is called.");
        } catch (RejectedExecutionException e) {
            // Expected
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does assertRejection() do?
assertRejection() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java.
Where is assertRejection() defined?
assertRejection() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java at line 437.
What calls assertRejection()?
assertRejection() is called by 1 function(s): gracefulShutdownAfterStart.

Analyze Your Own Codebase

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

Try Supermodel Free