waitUntilContented() — netty Function Reference
Architecture documentation for the waitUntilContented() function in NettyBlockHoundIntegrationTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c8315b0b_9967_56bf_b629_70d0c3bcadbe["waitUntilContented()"] cf74196b_7257_4bcd_85d7_98838fdcf21e["TestLinkedBlockingQueue"] c8315b0b_9967_56bf_b629_70d0c3bcadbe -->|defined in| cf74196b_7257_4bcd_85d7_98838fdcf21e e7147b2d_39d9_4d42_fa62_e95cd65adc7e["testSingleThreadEventExecutorAddTask()"] e7147b2d_39d9_4d42_fa62_e95cd65adc7e -->|calls| c8315b0b_9967_56bf_b629_70d0c3bcadbe style c8315b0b_9967_56bf_b629_70d0c3bcadbe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-blockhound-tests/src/test/java/io/netty/util/internal/NettyBlockHoundIntegrationTest.java lines 565–570
void waitUntilContented() throws InterruptedException {
// wait until the lock gets contended
while (lock.getQueueLength() == 0) {
Thread.sleep(10L);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does waitUntilContented() do?
waitUntilContented() is a function in the netty codebase, defined in transport-blockhound-tests/src/test/java/io/netty/util/internal/NettyBlockHoundIntegrationTest.java.
Where is waitUntilContented() defined?
waitUntilContented() is defined in transport-blockhound-tests/src/test/java/io/netty/util/internal/NettyBlockHoundIntegrationTest.java at line 565.
What calls waitUntilContented()?
waitUntilContented() is called by 1 function(s): testSingleThreadEventExecutorAddTask.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free