Home / Function/ incrementPendingOutboundBytes() — netty Function Reference

incrementPendingOutboundBytes() — netty Function Reference

Architecture documentation for the incrementPendingOutboundBytes() function in AbstractHttp2StreamChannel.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  c9703b2f_6638_8afe_037a_9077f1bed51c["incrementPendingOutboundBytes()"]
  bcb58015_0c85_17e2_f1b3_0c1ad3aaa388["AbstractHttp2StreamChannel"]
  c9703b2f_6638_8afe_037a_9077f1bed51c -->|defined in| bcb58015_0c85_17e2_f1b3_0c1ad3aaa388
  913eecb4_a5fd_00ee_6dbc_41735192e10a["AbstractHttp2StreamChannel()"]
  913eecb4_a5fd_00ee_6dbc_41735192e10a -->|calls| c9703b2f_6638_8afe_037a_9077f1bed51c
  6ba5f11e_f430_02ca_f64c_f9a7338904bf["writeHttp2StreamFrame()"]
  6ba5f11e_f430_02ca_f64c_f9a7338904bf -->|calls| c9703b2f_6638_8afe_037a_9077f1bed51c
  0e69b272_0119_282e_1d37_1a15c86716b8["setUnwritable()"]
  c9703b2f_6638_8afe_037a_9077f1bed51c -->|calls| 0e69b272_0119_282e_1d37_1a15c86716b8
  style c9703b2f_6638_8afe_037a_9077f1bed51c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 255–264

    private void incrementPendingOutboundBytes(long size, boolean invokeLater) {
        if (size == 0) {
            return;
        }

        long newWriteBufferSize = TOTAL_PENDING_SIZE_UPDATER.addAndGet(this, size);
        if (newWriteBufferSize > config().getWriteBufferHighWaterMark()) {
            setUnwritable(invokeLater);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does incrementPendingOutboundBytes() do?
incrementPendingOutboundBytes() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is incrementPendingOutboundBytes() defined?
incrementPendingOutboundBytes() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 255.
What does incrementPendingOutboundBytes() call?
incrementPendingOutboundBytes() calls 1 function(s): setUnwritable.
What calls incrementPendingOutboundBytes()?
incrementPendingOutboundBytes() is called by 2 function(s): AbstractHttp2StreamChannel, writeHttp2StreamFrame.

Analyze Your Own Codebase

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

Try Supermodel Free