Home / Function/ doRegister() — netty Function Reference

doRegister() — netty Function Reference

Architecture documentation for the doRegister() function in AbstractIoUringChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1706c22f_3bfe_d3ad_f2ed_4c2854d5dc81["doRegister()"]
  9a4cac3b_00a7_737a_49b1_42ae60ccb637["AbstractIoUringChannel"]
  1706c22f_3bfe_d3ad_f2ed_4c2854d5dc81 -->|defined in| 9a4cac3b_00a7_737a_49b1_42ae60ccb637
  style 1706c22f_3bfe_d3ad_f2ed_4c2854d5dc81 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java lines 1210–1221

    @Override
    protected void doRegister(ChannelPromise promise) {
        IoEventLoop eventLoop = (IoEventLoop) eventLoop();
        eventLoop.register(ioUringUnsafe()).addListener(f -> {
            if (f.isSuccess()) {
                registration = (IoRegistration) f.getNow();
                promise.setSuccess();
            } else {
                promise.setFailure(f.cause());
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does doRegister() do?
doRegister() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java.
Where is doRegister() defined?
doRegister() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java at line 1210.

Analyze Your Own Codebase

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

Try Supermodel Free