Home / Function/ checkAddAllowed() — netty Function Reference

checkAddAllowed() — netty Function Reference

Architecture documentation for the checkAddAllowed() function in PromiseCombiner.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  941f5af8_0b7a_57bc_b747_7c813487185c["checkAddAllowed()"]
  c034bf85_ba3b_f7d0_2aee_bede5bf5f89f["PromiseCombiner"]
  941f5af8_0b7a_57bc_b747_7c813487185c -->|defined in| c034bf85_ba3b_f7d0_2aee_bede5bf5f89f
  b31bd12e_fb72_c32a_41b3_d8f287bfd9f7["add()"]
  b31bd12e_fb72_c32a_41b3_d8f287bfd9f7 -->|calls| 941f5af8_0b7a_57bc_b747_7c813487185c
  style 941f5af8_0b7a_57bc_b747_7c813487185c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/PromiseCombiner.java lines 173–177

    private void checkAddAllowed() {
        if (aggregatePromise != null) {
            throw new IllegalStateException("Adding promises is not allowed after finished adding");
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does checkAddAllowed() do?
checkAddAllowed() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/PromiseCombiner.java.
Where is checkAddAllowed() defined?
checkAddAllowed() is defined in common/src/main/java/io/netty/util/concurrent/PromiseCombiner.java at line 173.
What calls checkAddAllowed()?
checkAddAllowed() is called by 1 function(s): add.

Analyze Your Own Codebase

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

Try Supermodel Free