Home / Function/ clearEpollIn0() — netty Function Reference

clearEpollIn0() — netty Function Reference

Architecture documentation for the clearEpollIn0() function in AbstractEpollChannel.java from the netty codebase.

Function java Buffer Search calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  87f92a25_820d_6da3_4383_913f8e4f4164["clearEpollIn0()"]
  48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85["AbstractEpollUnsafe"]
  87f92a25_820d_6da3_4383_913f8e4f4164 -->|defined in| 48a4b0f2_9a93_c0ec_29eb_423e8fb5ce85
  45958743_85ce_8a0a_53ca_ded726f14f31["clearEpollIn()"]
  45958743_85ce_8a0a_53ca_ded726f14f31 -->|calls| 87f92a25_820d_6da3_4383_913f8e4f4164
  0f938c96_9ae0_6ccc_0306_33c0df2458f1["shutdownInput()"]
  0f938c96_9ae0_6ccc_0306_33c0df2458f1 -->|calls| 87f92a25_820d_6da3_4383_913f8e4f4164
  d9ab1040_9ace_496a_a503_4d950b47fbce["close()"]
  87f92a25_820d_6da3_4383_913f8e4f4164 -->|calls| d9ab1040_9ace_496a_a503_4d950b47fbce
  style 87f92a25_820d_6da3_4383_913f8e4f4164 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java lines 618–634

        protected final void clearEpollIn0() {
            assert eventLoop().inEventLoop();
            try {
                readPending = false;
                if (!ops.contains(EpollIoOps.EPOLLIN)) {
                    return;
                }
                ops = ops.without(EpollIoOps.EPOLLIN);
                IoRegistration registration = registration();
                registration.submit(ops);
            } catch (UncheckedIOException e) {
                // When this happens there is something completely wrong with either the filedescriptor or epoll,
                // so fire the exception through the pipeline and close the Channel.
                pipeline().fireExceptionCaught(e);
                unsafe().close(unsafe().voidPromise());
            }
        }

Domain

Subdomains

Calls

Frequently Asked Questions

What does clearEpollIn0() do?
clearEpollIn0() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java.
Where is clearEpollIn0() defined?
clearEpollIn0() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java at line 618.
What does clearEpollIn0() call?
clearEpollIn0() calls 1 function(s): close.
What calls clearEpollIn0()?
clearEpollIn0() is called by 2 function(s): clearEpollIn, shutdownInput.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free