waitForActive() — netty Function Reference
Architecture documentation for the waitForActive() function in UDTClientServerConnectionTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d5ad0d45_ae71_a7dc_a011_d131fc7e1b17["waitForActive()"] 89c0e406_7a8e_03fe_792e_9782b3deaad6["Server"] d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 -->|defined in| 89c0e406_7a8e_03fe_792e_9782b3deaad6 94101f11_b478_17c6_e827_424e905af992["waitForActive()"] 94101f11_b478_17c6_e827_424e905af992 -->|calls| d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 098a2fa4_b848_c4c1_4779_df3351dcad97["connection()"] 098a2fa4_b848_c4c1_4779_df3351dcad97 -->|calls| d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 94101f11_b478_17c6_e827_424e905af992["waitForActive()"] d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 -->|calls| 94101f11_b478_17c6_e827_424e905af992 style d5ad0d45_ae71_a7dc_a011_d131fc7e1b17 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/udt/UDTClientServerConnectionTest.java lines 245–262
void waitForActive(final boolean isActive) throws Exception {
for (int k = 0; k < WAIT_COUNT; k++) {
Thread.sleep(WAIT_SLEEP);
if (isActive) {
for (final Channel channel : group) {
final ServerHandler handler = channel.pipeline().get(
ServerHandler.class);
if (handler != null && handler.isActive) {
return;
}
}
} else {
if (group.isEmpty()) {
return;
}
}
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
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 245.
What does waitForActive() call?
waitForActive() calls 1 function(s): waitForActive.
What calls waitForActive()?
waitForActive() is called by 2 function(s): connection, waitForActive.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free