Home / Function/ waitForActive() — netty Function Reference

waitForActive() — netty Function Reference

Architecture documentation for the waitForActive() function in UDTClientServerConnectionTest.java from the netty codebase.

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  94101f11_b478_17c6_e827_424e905af992["waitForActive()"]
  04943c9a_8ea1_0974_cf09_4ca1510eeef0["Client"]
  94101f11_b478_17c6_e827_424e905af992 -->|defined in| 04943c9a_8ea1_0974_cf09_4ca1510eeef0
  d5ad0d45_ae71_a7dc_a011_d131fc7e1b17["waitForActive()"]
  d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 -->|calls| 94101f11_b478_17c6_e827_424e905af992
  d5ad0d45_ae71_a7dc_a011_d131fc7e1b17["waitForActive()"]
  94101f11_b478_17c6_e827_424e905af992 -->|calls| d5ad0d45_ae71_a7dc_a011_d131fc7e1b17
  style 94101f11_b478_17c6_e827_424e905af992 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java lines 117–126

        void waitForActive(final boolean isActive) throws Exception {
            for (int k = 0; k < WAIT_COUNT; k++) {
                Thread.sleep(WAIT_SLEEP);
                final ClientHandler handler = channel.pipeline().get(
                        ClientHandler.class);
                if (handler != null && isActive == handler.isActive) {
                    return;
                }
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does waitForActive() do?
waitForActive() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java.
Where is waitForActive() defined?
waitForActive() is defined in testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java at line 117.
What does waitForActive() call?
waitForActive() calls 1 function(s): waitForActive.
What calls waitForActive()?
waitForActive() is called by 1 function(s): waitForActive.

Analyze Your Own Codebase

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

Try Supermodel Free