Home / Function/ casState() — netty Function Reference

casState() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

    final boolean casState(int expected, int update) {
        return stateUpdater.compareAndSet(this, expected, update);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free