checkPrematureClose() — netty Function Reference
Architecture documentation for the checkPrematureClose() function in SocketHalfClosedTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9158c171_4fc5_0e4a_4e16_c1f816313ca6["checkPrematureClose()"] a8155a97_c3e1_5a97_3f5c_f598bd3af9fe["AutoCloseFalseFollower"] 9158c171_4fc5_0e4a_4e16_c1f816313ca6 -->|defined in| a8155a97_c3e1_5a97_3f5c_f598bd3af9fe 52f023a0_c81e_bc99_523a_b23033bffdf0["checkPrematureClose()"] 52f023a0_c81e_bc99_523a_b23033bffdf0 -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6 872a8925_a278_d5d4_1c4a_48dcd735f74e["channelInactive()"] 872a8925_a278_d5d4_1c4a_48dcd735f74e -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6 9f0d148d_19fe_6f26_b8b9_17ac45fb4050["exceptionCaught()"] 9f0d148d_19fe_6f26_b8b9_17ac45fb4050 -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6 e02ca8f5_bf2c_16d2_4875_90f8bfa4871e["channelInactive()"] e02ca8f5_bf2c_16d2_4875_90f8bfa4871e -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6 1b353293_269e_5350_bac6_ca825553573d["exceptionCaught()"] 1b353293_269e_5350_bac6_ca825553573d -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6 52f023a0_c81e_bc99_523a_b23033bffdf0["checkPrematureClose()"] 9158c171_4fc5_0e4a_4e16_c1f816313ca6 -->|calls| 52f023a0_c81e_bc99_523a_b23033bffdf0 style 9158c171_4fc5_0e4a_4e16_c1f816313ca6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketHalfClosedTest.java lines 596–601
private void checkPrematureClose() {
if (bytesRead < expectedBytes) {
causeRef.set(new IllegalStateException("follower premature close"));
doneLatch.countDown();
}
}
Domain
Subdomains
Calls
Source
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 596.
What does checkPrematureClose() call?
checkPrematureClose() calls 1 function(s): checkPrematureClose.
What calls checkPrematureClose()?
checkPrematureClose() is called by 5 function(s): channelInactive, channelInactive, checkPrematureClose, exceptionCaught, exceptionCaught.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free