Home / Function/ closeAsync() — netty Function Reference

closeAsync() — netty Function Reference

Architecture documentation for the closeAsync() function in SimpleChannelPool.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b40d74e7_0f49_f0ce_05e5_744a3a28bab2["closeAsync()"]
  e441b5b0_fbd9_848c_9624_3e21f7c56e58["SimpleChannelPool"]
  b40d74e7_0f49_f0ce_05e5_744a3a28bab2 -->|defined in| e441b5b0_fbd9_848c_9624_3e21f7c56e58
  8ee798f5_e519_63d5_a331_2a110682e5b4["close()"]
  b40d74e7_0f49_f0ce_05e5_744a3a28bab2 -->|calls| 8ee798f5_e519_63d5_a331_2a110682e5b4
  style b40d74e7_0f49_f0ce_05e5_744a3a28bab2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java lines 402–411

    public Future<Void> closeAsync() {
        // Execute close asynchronously in case this is being invoked on an eventloop to avoid blocking
        return GlobalEventExecutor.INSTANCE.submit(new Callable<Void>() {
            @Override
            public Void call() throws Exception {
                close();
                return null;
            }
        });
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does closeAsync() do?
closeAsync() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java.
Where is closeAsync() defined?
closeAsync() is defined in transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java at line 402.
What does closeAsync() call?
closeAsync() calls 1 function(s): close.

Analyze Your Own Codebase

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

Try Supermodel Free