toAvailable() — netty Function Reference
Architecture documentation for the toAvailable() function in Recycler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6dad0133_9af2_f8e9_e553_e2104e2e48c2["toAvailable()"] 892e9793_976b_14af_cfdd_de6349d8b941["DefaultHandle"] 6dad0133_9af2_f8e9_e553_e2104e2e48c2 -->|defined in| 892e9793_976b_14af_cfdd_de6349d8b941 1643de33_e9da_0b4c_a298_9df95940fc8a["recycle()"] 1643de33_e9da_0b4c_a298_9df95940fc8a -->|calls| 6dad0133_9af2_f8e9_e553_e2104e2e48c2 style 6dad0133_9af2_f8e9_e553_e2104e2e48c2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/Recycler.java lines 423–428
private void toAvailable() {
int prev = STATE_UPDATER.getAndSet(this, STATE_AVAILABLE);
if (prev == STATE_AVAILABLE) {
throw new IllegalStateException("Object has been recycled already.");
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does toAvailable() do?
toAvailable() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/Recycler.java.
Where is toAvailable() defined?
toAvailable() is defined in common/src/main/java/io/netty/util/Recycler.java at line 423.
What calls toAvailable()?
toAvailable() is called by 1 function(s): recycle.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free