Home / Function/ registerForIo0() — netty Function Reference

registerForIo0() — netty Function Reference

Architecture documentation for the registerForIo0() function in SingleThreadIoEventLoop.java from the netty codebase.

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  6b494a0c_b088_3d36_2290_76b03d4be72b["registerForIo0()"]
  b5a24862_948e_3d05_bb70_270a6c4842a9["SingleThreadIoEventLoop"]
  6b494a0c_b088_3d36_2290_76b03d4be72b -->|defined in| b5a24862_948e_3d05_bb70_270a6c4842a9
  4f1e6e08_477c_0f5f_de68_9d9cb2f051a6["register()"]
  4f1e6e08_477c_0f5f_de68_9d9cb2f051a6 -->|calls| 6b494a0c_b088_3d36_2290_76b03d4be72b
  aaaa63db_006c_d843_cf5a_28a5d3cc4abc["IoRegistrationWrapper()"]
  6b494a0c_b088_3d36_2290_76b03d4be72b -->|calls| aaaa63db_006c_d843_cf5a_28a5d3cc4abc
  style 6b494a0c_b088_3d36_2290_76b03d4be72b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java lines 250–261

    private void registerForIo0(final IoHandle handle, Promise<IoRegistration> promise) {
        assert inEventLoop();
        final IoRegistration registration;
        try {
            registration = ioHandler.register(handle);
        } catch (Exception e) {
            promise.setFailure(e);
            return;
        }
        numRegistrations.incrementAndGet();
        promise.setSuccess(new IoRegistrationWrapper(registration));
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does registerForIo0() do?
registerForIo0() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java.
Where is registerForIo0() defined?
registerForIo0() is defined in transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java at line 250.
What does registerForIo0() call?
registerForIo0() calls 1 function(s): IoRegistrationWrapper.
What calls registerForIo0()?
registerForIo0() is called by 1 function(s): register.

Analyze Your Own Codebase

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

Try Supermodel Free