shouldStopReading() — netty Function Reference
Architecture documentation for the shouldStopReading() function in AbstractKQueueChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e583e7ca_d04e_87b8_fffb_47048fc27d3c["shouldStopReading()"] db95214c_090e_b762_6cfd_37721de6cf7b["AbstractKQueueUnsafe"] e583e7ca_d04e_87b8_fffb_47048fc27d3c -->|defined in| db95214c_090e_b762_6cfd_37721de6cf7b def1f904_d411_f912_d2ef_f5e394e5558d["shutdownInput()"] def1f904_d411_f912_d2ef_f5e394e5558d -->|calls| e583e7ca_d04e_87b8_fffb_47048fc27d3c style e583e7ca_d04e_87b8_fffb_47048fc27d3c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java lines 422–430
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
Defined In
Called By
Source
Frequently Asked Questions
What does shouldStopReading() do?
shouldStopReading() is a function in the netty codebase, defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java.
Where is shouldStopReading() defined?
shouldStopReading() is defined in transport-classes-kqueue/src/main/java/io/netty/channel/kqueue/AbstractKQueueChannel.java at line 422.
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