Home / Function/ selectAgain() — netty Function Reference

selectAgain() — netty Function Reference

Architecture documentation for the selectAgain() function in NioIoHandler.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  0da770a6_c2c1_ab83_acae_aaaf42049c37["selectAgain()"]
  db526e28_8aae_a182_b56b_dc12824d89f5["NioIoHandler"]
  0da770a6_c2c1_ab83_acae_aaaf42049c37 -->|defined in| db526e28_8aae_a182_b56b_dc12824d89f5
  1b0b7e3a_8aa0_e5ec_b668_d4f04f445265["processSelectedKeysPlain()"]
  1b0b7e3a_8aa0_e5ec_b668_d4f04f445265 -->|calls| 0da770a6_c2c1_ab83_acae_aaaf42049c37
  e3fcb994_a327_a559_b40a_d6d5470f3507["processSelectedKeysOptimized()"]
  e3fcb994_a327_a559_b40a_d6d5470f3507 -->|calls| 0da770a6_c2c1_ab83_acae_aaaf42049c37
  835b5b88_c0c2_46ad_ca71_7e60be695e58["prepareToDestroy()"]
  835b5b88_c0c2_46ad_ca71_7e60be695e58 -->|calls| 0da770a6_c2c1_ab83_acae_aaaf42049c37
  5c2d7172_e563_2902_636d_504657d6c8d2["selectNow()"]
  0da770a6_c2c1_ab83_acae_aaaf42049c37 -->|calls| 5c2d7172_e563_2902_636d_504657d6c8d2
  style 0da770a6_c2c1_ab83_acae_aaaf42049c37 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/nio/NioIoHandler.java lines 762–769

    private void selectAgain() {
        needsToSelectAgain = false;
        try {
            selector.selectNow();
        } catch (Throwable t) {
            logger.warn("Failed to update SelectionKeys.", t);
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does selectAgain() do?
selectAgain() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/NioIoHandler.java.
Where is selectAgain() defined?
selectAgain() is defined in transport/src/main/java/io/netty/channel/nio/NioIoHandler.java at line 762.
What does selectAgain() call?
selectAgain() calls 1 function(s): selectNow.
What calls selectAgain()?
selectAgain() is called by 3 function(s): prepareToDestroy, processSelectedKeysOptimized, processSelectedKeysPlain.

Analyze Your Own Codebase

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

Try Supermodel Free