Home / Function/ incWaiters() — netty Function Reference

incWaiters() — netty Function Reference

Architecture documentation for the incWaiters() function in DefaultPromise.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  840a82ca_e064_c245_c313_71d5cad7b138["incWaiters()"]
  a0080a71_f091_42e0_8a20_424f0bf9d34a["DefaultPromise"]
  840a82ca_e064_c245_c313_71d5cad7b138 -->|defined in| a0080a71_f091_42e0_8a20_424f0bf9d34a
  a8fc55bf_4c0d_3fde_79cd_c3f808accded["await()"]
  a8fc55bf_4c0d_3fde_79cd_c3f808accded -->|calls| 840a82ca_e064_c245_c313_71d5cad7b138
  468882d3_22d8_7166_9c69_b2be03be150b["awaitUninterruptibly()"]
  468882d3_22d8_7166_9c69_b2be03be150b -->|calls| 840a82ca_e064_c245_c313_71d5cad7b138
  93f49b0e_0a57_4979_d91e_7cad339bdb09["await0()"]
  93f49b0e_0a57_4979_d91e_7cad339bdb09 -->|calls| 840a82ca_e064_c245_c313_71d5cad7b138
  style 840a82ca_e064_c245_c313_71d5cad7b138 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/DefaultPromise.java lines 668–673

    private void incWaiters() {
        if (waiters == Short.MAX_VALUE) {
            throw new IllegalStateException("too many waiters: " + this);
        }
        ++waiters;
    }

Domain

Subdomains

Frequently Asked Questions

What does incWaiters() do?
incWaiters() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java.
Where is incWaiters() defined?
incWaiters() is defined in common/src/main/java/io/netty/util/concurrent/DefaultPromise.java at line 668.
What calls incWaiters()?
incWaiters() is called by 3 function(s): await, await0, awaitUninterruptibly.

Analyze Your Own Codebase

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

Try Supermodel Free