doClose() — netty Function Reference
Architecture documentation for the doClose() function in AbstractIoUringChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b80021b2_917f_85e3_33c1_53c46f02b27e["doClose()"] 9a4cac3b_00a7_737a_49b1_42ae60ccb637["AbstractIoUringChannel"] b80021b2_917f_85e3_33c1_53c46f02b27e -->|defined in| 9a4cac3b_00a7_737a_49b1_42ae60ccb637 1ba81e82_52fd_8c00_5349_286d47207e92["nextOpsId()"] b80021b2_917f_85e3_33c1_53c46f02b27e -->|calls| 1ba81e82_52fd_8c00_5349_286d47207e92 941f2659_0934_3a6d_3c64_960438f90518["close()"] b80021b2_917f_85e3_33c1_53c46f02b27e -->|calls| 941f2659_0934_3a6d_3c64_960438f90518 36e791ce_2def_f38e_20d4_d5bcb7a2e093["unregistered()"] b80021b2_917f_85e3_33c1_53c46f02b27e -->|calls| 36e791ce_2def_f38e_20d4_d5bcb7a2e093 style b80021b2_917f_85e3_33c1_53c46f02b27e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java lines 299–314
@Override
protected void doClose() throws Exception {
active = false;
if (registration != null) {
if (socket.markClosed()) {
int fd = fd().intValue();
IoUringIoOps ops = IoUringIoOps.newClose(fd, (byte) 0, nextOpsId());
registration.submit(ops);
}
} else {
// This one was never registered just use a syscall to close.
socket.close();
ioUringUnsafe().unregistered();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does doClose() do?
doClose() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java.
Where is doClose() defined?
doClose() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java at line 299.
What does doClose() call?
doClose() calls 3 function(s): close, nextOpsId, unregistered.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free