Home / Function/ doClose() — netty Function Reference

doClose() — netty Function Reference

Architecture documentation for the doClose() function in AbstractEpollStreamChannel.java from the netty codebase.

Function java Buffer Search calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  4c1d928e_3480_799c_0e69_d72066550f4b["doClose()"]
  6ec314cd_b42f_72bd_344b_f54212398142["AbstractEpollStreamChannel"]
  4c1d928e_3480_799c_0e69_d72066550f4b -->|defined in| 6ec314cd_b42f_72bd_344b_f54212398142
  7df0a4ff_9721_6d9a_87c1_13687d3d7428["epollInReady()"]
  7df0a4ff_9721_6d9a_87c1_13687d3d7428 -->|calls| 4c1d928e_3480_799c_0e69_d72066550f4b
  e2850537_739b_b2d1_0e86_0c9475219558["safeClosePipe()"]
  4c1d928e_3480_799c_0e69_d72066550f4b -->|calls| e2850537_739b_b2d1_0e86_0c9475219558
  87859355_6ea4_99a9_9451_4eb364a4f6c7["clearSpliceQueue()"]
  4c1d928e_3480_799c_0e69_d72066550f4b -->|calls| 87859355_6ea4_99a9_9451_4eb364a4f6c7
  style 4c1d928e_3480_799c_0e69_d72066550f4b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java lines 674–684

    @Override
    protected void doClose() throws Exception {
        try {
            // Calling super.doClose() first so spliceTo(...) will fail on next call.
            super.doClose();
        } finally {
            safeClosePipe(pipeIn);
            safeClosePipe(pipeOut);
            clearSpliceQueue(null);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does doClose() do?
doClose() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java.
Where is doClose() defined?
doClose() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollStreamChannel.java at line 674.
What does doClose() call?
doClose() calls 2 function(s): clearSpliceQueue, safeClosePipe.
What calls doClose()?
doClose() is called by 1 function(s): epollInReady.

Analyze Your Own Codebase

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

Try Supermodel Free