setUnwritable() — netty Function Reference
Architecture documentation for the setUnwritable() function in AbstractHttp2StreamChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0e69b272_0119_282e_1d37_1a15c86716b8["setUnwritable()"] bcb58015_0c85_17e2_f1b3_0c1ad3aaa388["AbstractHttp2StreamChannel"] 0e69b272_0119_282e_1d37_1a15c86716b8 -->|defined in| bcb58015_0c85_17e2_f1b3_0c1ad3aaa388 c9703b2f_6638_8afe_037a_9077f1bed51c["incrementPendingOutboundBytes()"] c9703b2f_6638_8afe_037a_9077f1bed51c -->|calls| 0e69b272_0119_282e_1d37_1a15c86716b8 a896dd21_356b_4301_0b7c_d2512527d029["fireChannelWritabilityChanged()"] 0e69b272_0119_282e_1d37_1a15c86716b8 -->|calls| a896dd21_356b_4301_0b7c_d2512527d029 style 0e69b272_0119_282e_1d37_1a15c86716b8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 305–316
private void setUnwritable(boolean invokeLater) {
for (;;) {
final int oldValue = unwritable;
final int newValue = oldValue | 1;
if (UNWRITABLE_UPDATER.compareAndSet(this, oldValue, newValue)) {
if (oldValue == 0) {
fireChannelWritabilityChanged(invokeLater);
}
break;
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does setUnwritable() do?
setUnwritable() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is setUnwritable() defined?
setUnwritable() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 305.
What does setUnwritable() call?
setUnwritable() calls 1 function(s): fireChannelWritabilityChanged.
What calls setUnwritable()?
setUnwritable() is called by 1 function(s): incrementPendingOutboundBytes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free