Home / Function/ close() — netty Function Reference

close() — netty Function Reference

Architecture documentation for the close() function in FileDescriptor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bb447b16_4106_b5c3_5492_65b863a59ccc["close()"]
  5c6e37aa_7064_92fb_4b59_7b76ad32e403["FileDescriptor"]
  bb447b16_4106_b5c3_5492_65b863a59ccc -->|defined in| 5c6e37aa_7064_92fb_4b59_7b76ad32e403
  802f1d9f_4e73_6025_da8a_fd85e14dbeea["markClosed()"]
  bb447b16_4106_b5c3_5492_65b863a59ccc -->|calls| 802f1d9f_4e73_6025_da8a_fd85e14dbeea
  style bb447b16_4106_b5c3_5492_65b863a59ccc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java lines 81–88

    public void close() throws IOException {
        if (markClosed()) {
            int res = close(fd);
            if (res < 0) {
                throw newIOException("close", res);
            }
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does close() do?
close() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java.
Where is close() defined?
close() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java at line 81.
What does close() call?
close() calls 1 function(s): markClosed.

Analyze Your Own Codebase

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

Try Supermodel Free