Home / Function/ handleLoopException() — netty Function Reference

handleLoopException() — netty Function Reference

Architecture documentation for the handleLoopException() function in EpollIoHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6a4e5217_6a46_08ca_6276_ed11e222423e["handleLoopException()"]
  e531fecb_b495_8b97_8d1b_49ff2b5ccdbb["EpollIoHandler"]
  6a4e5217_6a46_08ca_6276_ed11e222423e -->|defined in| e531fecb_b495_8b97_8d1b_49ff2b5ccdbb
  243595e7_7d39_0bf2_9688_f649d92dd080["run()"]
  243595e7_7d39_0bf2_9688_f649d92dd080 -->|calls| 6a4e5217_6a46_08ca_6276_ed11e222423e
  style 6a4e5217_6a46_08ca_6276_ed11e222423e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java lines 489–499

    void handleLoopException(Throwable t) {
        logger.warn("Unexpected exception in the selector loop.", t);

        // Prevent possible consecutive immediate failures that lead to
        // excessive CPU consumption.
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            // Ignore.
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleLoopException() do?
handleLoopException() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java.
Where is handleLoopException() defined?
handleLoopException() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java at line 489.
What calls handleLoopException()?
handleLoopException() is called by 1 function(s): run.

Analyze Your Own Codebase

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

Try Supermodel Free