Home / Function/ checkInEventLoop() — netty Function Reference

checkInEventLoop() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  61cc60e0_a4a2_7876_29bb_7633ddc4c93a["checkInEventLoop()"]
  c034bf85_ba3b_f7d0_2aee_bede5bf5f89f["PromiseCombiner"]
  61cc60e0_a4a2_7876_29bb_7633ddc4c93a -->|defined in| c034bf85_ba3b_f7d0_2aee_bede5bf5f89f
  b31bd12e_fb72_c32a_41b3_d8f287bfd9f7["add()"]
  b31bd12e_fb72_c32a_41b3_d8f287bfd9f7 -->|calls| 61cc60e0_a4a2_7876_29bb_7633ddc4c93a
  b848fecf_3695_33cb_cafc_ce4f3330b4f6["finish()"]
  b848fecf_3695_33cb_cafc_ce4f3330b4f6 -->|calls| 61cc60e0_a4a2_7876_29bb_7633ddc4c93a
  style 61cc60e0_a4a2_7876_29bb_7633ddc4c93a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/PromiseCombiner.java lines 163–167

    private void checkInEventLoop() {
        if (!executor.inEventLoop()) {
            throw new IllegalStateException("Must be called from EventExecutor thread");
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free