handleReadException() — netty Function Reference
Architecture documentation for the handleReadException() function in AbstractIoUringStreamChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 21fb1737_9ce6_a472_6c2b_0339632901d1["handleReadException()"] 2ef046a1_16aa_1708_4ba7_113c9fa2862e["IoUringStreamUnsafe"] 21fb1737_9ce6_a472_6c2b_0339632901d1 -->|defined in| 2ef046a1_16aa_1708_4ba7_113c9fa2862e fa8d19bc_1143_f4c3_84c4_ef07823cb9be["scheduleReadProviderBuffer()"] fa8d19bc_1143_f4c3_84c4_ef07823cb9be -->|calls| 21fb1737_9ce6_a472_6c2b_0339632901d1 fa9874cc_cb17_d11f_1021_bfddfcbc3051["readComplete0()"] fa9874cc_cb17_d11f_1021_bfddfcbc3051 -->|calls| 21fb1737_9ce6_a472_6c2b_0339632901d1 style 21fb1737_9ce6_a472_6c2b_0339632901d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java lines 543–559
protected final void handleReadException(ChannelPipeline pipeline, ByteBuf byteBuf,
Throwable cause, boolean allDataRead,
IoUringRecvByteAllocatorHandle allocHandle) {
if (byteBuf != null) {
if (byteBuf.isReadable()) {
pipeline.fireChannelRead(byteBuf);
} else {
byteBuf.release();
}
}
allocHandle.readComplete();
pipeline.fireChannelReadComplete();
pipeline.fireExceptionCaught(cause);
if (allDataRead || cause instanceof IOException) {
shutdownInput(true);
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does handleReadException() do?
handleReadException() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java.
Where is handleReadException() defined?
handleReadException() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java at line 543.
What calls handleReadException()?
handleReadException() is called by 2 function(s): readComplete0, scheduleReadProviderBuffer.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free