canCloseNow() — netty Function Reference
Architecture documentation for the canCloseNow() function in AbstractIoUringChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a["canCloseNow()"] 19011d76_ce85_4831_bbdf_3b21a88f2b1b["AbstractUringUnsafe"] 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a -->|defined in| 19011d76_ce85_4831_bbdf_3b21a88f2b1b 8147a0ed_8013_83a9_479a_7347b58094a7["handleDelayedClosed()"] 8147a0ed_8013_83a9_479a_7347b58094a7 -->|calls| 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a 941f2659_0934_3a6d_3c64_960438f90518["close()"] 941f2659_0934_3a6d_3c64_960438f90518 -->|calls| 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a 4b3844c1_ec1c_833a_52a6_32035373f964["canCloseNow0()"] 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a -->|calls| 4b3844c1_ec1c_833a_52a6_32035373f964 style 0f871ab8_cfcc_3c2c_5b64_8ab8603d4d4a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java lines 609–613
private boolean canCloseNow() {
// Currently there are is no WRITE and READ scheduled, we can close the channel now without
// problems related to re-ordering of completions.
return canCloseNow0() && (ioState & (WRITE_SCHEDULED | READ_SCHEDULED)) == 0;
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does canCloseNow() do?
canCloseNow() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java.
Where is canCloseNow() defined?
canCloseNow() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java at line 609.
What does canCloseNow() call?
canCloseNow() calls 1 function(s): canCloseNow0.
What calls canCloseNow()?
canCloseNow() is called by 2 function(s): close, handleDelayedClosed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free