doBeginRead() — netty Function Reference
Architecture documentation for the doBeginRead() function in AbstractEpollChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 53247603_85d1_6236_4978_c5e23c7a1777["doBeginRead()"] 6a1b1970_2eef_b28f_03e7_8b11508deece["AbstractEpollChannel"] 53247603_85d1_6236_4978_c5e23c7a1777 -->|defined in| 6a1b1970_2eef_b28f_03e7_8b11508deece 183eb932_fb7f_4488_b2e8_71058cc21874["setFlag()"] 53247603_85d1_6236_4978_c5e23c7a1777 -->|calls| 183eb932_fb7f_4488_b2e8_71058cc21874 style 53247603_85d1_6236_4978_c5e23c7a1777 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java lines 244–254
@Override
protected void doBeginRead() throws Exception {
// Channel.read() or ChannelHandlerContext.read() was called
final AbstractEpollUnsafe unsafe = (AbstractEpollUnsafe) unsafe();
unsafe.readPending = true;
// We must set the read flag here as it is possible the user didn't read in the last read loop, the
// executeEpollInReadyRunnable could read nothing, and if the user doesn't explicitly call read they will
// never get data after this.
setFlag(Native.EPOLLIN);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does doBeginRead() do?
doBeginRead() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java.
Where is doBeginRead() defined?
doBeginRead() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java at line 244.
What does doBeginRead() call?
doBeginRead() calls 1 function(s): setFlag.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free