incrementReadableBytes() — netty Function Reference
Architecture documentation for the incrementReadableBytes() function in AbstractCoalescingBufferQueue.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a5b677d4_5a5b_f770_3ee6_0215e9eac0c4["incrementReadableBytes()"] ed411aca_4554_3a54_c59f_b4c69a0bca4f["AbstractCoalescingBufferQueue"] a5b677d4_5a5b_f770_3ee6_0215e9eac0c4 -->|defined in| ed411aca_4554_3a54_c59f_b4c69a0bca4f 7a37830c_ea16_4611_3e35_5c64f1ad654a["addFirst()"] 7a37830c_ea16_4611_3e35_5c64f1ad654a -->|calls| a5b677d4_5a5b_f770_3ee6_0215e9eac0c4 5aed0cf6_186e_56d0_e3f6_f45fb7f45b4d["add()"] 5aed0cf6_186e_56d0_e3f6_f45fb7f45b4d -->|calls| a5b677d4_5a5b_f770_3ee6_0215e9eac0c4 290d2187_915e_0e58_e2fa_d9e4f68ee2e3["copyTo()"] 290d2187_915e_0e58_e2fa_d9e4f68ee2e3 -->|calls| a5b677d4_5a5b_f770_3ee6_0215e9eac0c4 style a5b677d4_5a5b_f770_3ee6_0215e9eac0c4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/AbstractCoalescingBufferQueue.java lines 410–419
private void incrementReadableBytes(int increment) {
int nextReadableBytes = readableBytes + increment;
if (nextReadableBytes < readableBytes) {
throw new IllegalStateException("buffer queue length overflow: " + readableBytes + " + " + increment);
}
readableBytes = nextReadableBytes;
if (tracker != null) {
tracker.incrementPendingOutboundBytes(increment);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does incrementReadableBytes() do?
incrementReadableBytes() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractCoalescingBufferQueue.java.
Where is incrementReadableBytes() defined?
incrementReadableBytes() is defined in transport/src/main/java/io/netty/channel/AbstractCoalescingBufferQueue.java at line 410.
What calls incrementReadableBytes()?
incrementReadableBytes() is called by 3 function(s): add, addFirst, copyTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free