Home / Function/ writableBytes() — netty Function Reference

writableBytes() — netty Function Reference

Architecture documentation for the writableBytes() function in DefaultHttp2RemoteFlowController.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  320e1960_32da_24ad_1d4d_a86c2f06104e["writableBytes()"]
  415966d7_2c19_58a9_659f_282cc732e73c["DefaultHttp2RemoteFlowController"]
  320e1960_32da_24ad_1d4d_a86c2f06104e -->|defined in| 415966d7_2c19_58a9_659f_282cc732e73c
  1b91d5a0_59ed_e138_1c7d_a8c48586e1ad["writePendingBytes()"]
  1b91d5a0_59ed_e138_1c7d_a8c48586e1ad -->|calls| 320e1960_32da_24ad_1d4d_a86c2f06104e
  80e6a2ef_d552_0c5b_4dc9_6d69de93dc55["connectionWindowSize()"]
  320e1960_32da_24ad_1d4d_a86c2f06104e -->|calls| 80e6a2ef_d552_0c5b_4dc9_6d69de93dc55
  ab77a5ad_de02_f74b_aa2f_07d659643816["maxUsableChannelBytes()"]
  320e1960_32da_24ad_1d4d_a86c2f06104e -->|calls| ab77a5ad_de02_f74b_aa2f_07d659643816
  style 320e1960_32da_24ad_1d4d_a86c2f06104e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java lines 259–261

    private int writableBytes() {
        return min(connectionWindowSize(), maxUsableChannelBytes());
    }

Domain

Subdomains

Frequently Asked Questions

What does writableBytes() do?
writableBytes() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java.
Where is writableBytes() defined?
writableBytes() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java at line 259.
What does writableBytes() call?
writableBytes() calls 2 function(s): connectionWindowSize, maxUsableChannelBytes.
What calls writableBytes()?
writableBytes() is called by 1 function(s): writePendingBytes.

Analyze Your Own Codebase

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

Try Supermodel Free