Home / Function/ checkPrematureClose() — netty Function Reference

checkPrematureClose() — netty Function Reference

Architecture documentation for the checkPrematureClose() function in SocketHalfClosedTest.java from the netty codebase.

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  52f023a0_c81e_bc99_523a_b23033bffdf0["checkPrematureClose()"]
  75d25e1f_d173_eba1_2e00_bdb589050562["AutoCloseFalseLeader"]
  52f023a0_c81e_bc99_523a_b23033bffdf0 -->|defined in| 75d25e1f_d173_eba1_2e00_bdb589050562
  9158c171_4fc5_0e4a_4e16_c1f816313ca6["checkPrematureClose()"]
  9158c171_4fc5_0e4a_4e16_c1f816313ca6 -->|calls| 52f023a0_c81e_bc99_523a_b23033bffdf0
  9158c171_4fc5_0e4a_4e16_c1f816313ca6["checkPrematureClose()"]
  52f023a0_c81e_bc99_523a_b23033bffdf0 -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6
  style 52f023a0_c81e_bc99_523a_b23033bffdf0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketHalfClosedTest.java lines 666–671

        private void checkPrematureClose() {
            if (bytesRead < expectedBytes || !seenOutputShutdown) {
                causeRef.set(new IllegalStateException("leader premature close"));
                doneLatch.countDown();
            }
        }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free