shouldStopReading() — netty Function Reference
Architecture documentation for the shouldStopReading() function in AbstractEpollChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 79fa9e79_7cee_d3a0_2104_e37cb65f90fb["shouldStopReading()"] 48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85["AbstractEpollUnsafe"] 79fa9e79_7cee_d3a0_2104_e37cb65f90fb -->|defined in| 48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85 0f938c96_9ae0_6ccc_0306_33c0df2458f1["shutdownInput()"] 0f938c96_9ae0_6ccc_0306_33c0df2458f1 -->|calls| 79fa9e79_7cee_d3a0_2104_e37cb65f90fb style 79fa9e79_7cee_d3a0_2104_e37cb65f90fb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java lines 498–506
final boolean shouldStopReading(ChannelConfig config) {
// Check if there is a readPending which was not processed yet.
// This could be for two reasons:
// * The user called Channel.read() or ChannelHandlerContext.read() in channelRead(...) method
// * The user called Channel.read() or ChannelHandlerContext.read() in channelReadComplete(...) method
//
// See https://github.com/netty/netty/issues/2254
return !readPending && !config.isAutoRead();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does shouldStopReading() do?
shouldStopReading() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java.
Where is shouldStopReading() defined?
shouldStopReading() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java at line 498.
What calls shouldStopReading()?
shouldStopReading() is called by 1 function(s): shutdownInput.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free