Home / Function/ closeAsync() — netty Function Reference

closeAsync() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  77ca8c04_83c5_34bd_d022_17e40d36b3cf["closeAsync()"]
  818171a2_dace_9e44_90ff_74756912c079["TestPool"]
  77ca8c04_83c5_34bd_d022_17e40d36b3cf -->|defined in| 818171a2_dace_9e44_90ff_74756912c079
  style 77ca8c04_83c5_34bd_d022_17e40d36b3cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/pool/AbstractChannelPoolMapTest.java lines 157–168

        @Override
        public Future<Void> closeAsync() {
            Future<Void> poolClose = super.closeAsync();
            poolClose.addListener(future -> {
                if (future.isSuccess()) {
                    closeFuture.setSuccess(null);
                } else {
                    closeFuture.setFailure(future.cause());
                }
            });
            return poolClose;
        }

Domain

Subdomains

Frequently Asked Questions

What does closeAsync() do?
closeAsync() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/pool/AbstractChannelPoolMapTest.java.
Where is closeAsync() defined?
closeAsync() is defined in transport/src/test/java/io/netty/channel/pool/AbstractChannelPoolMapTest.java at line 157.

Analyze Your Own Codebase

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

Try Supermodel Free