Home / Function/ doDeregister() — netty Function Reference

doDeregister() — netty Function Reference

Architecture documentation for the doDeregister() function in LocalChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6f32f167_611c_444c_1d2a_cae03560dda4["doDeregister()"]
  81a44f54_ab3c_5f8b_4522_05c91e5f8eb8["LocalChannel"]
  6f32f167_611c_444c_1d2a_cae03560dda4 -->|defined in| 81a44f54_ab3c_5f8b_4522_05c91e5f8eb8
  f17369bf_bb1a_afdd_d027_3f73c8c9ff30["unregistered()"]
  6f32f167_611c_444c_1d2a_cae03560dda4 -->|calls| f17369bf_bb1a_afdd_d027_3f73c8c9ff30
  style 6f32f167_611c_444c_1d2a_cae03560dda4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/local/LocalChannel.java lines 194–206

    @Override
    protected void doDeregister() throws Exception {
        EventLoop loop = eventLoop();
        if (loop instanceof IoEventLoop) {
            IoRegistration registration = this.registration;
            if (registration != null) {
                this.registration = null;
                registration.cancel();
            }
        } else {
            ((LocalUnsafe) unsafe()).unregistered();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does doDeregister() do?
doDeregister() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/local/LocalChannel.java.
Where is doDeregister() defined?
doDeregister() is defined in transport/src/main/java/io/netty/channel/local/LocalChannel.java at line 194.
What does doDeregister() call?
doDeregister() calls 1 function(s): unregistered.

Analyze Your Own Codebase

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

Try Supermodel Free