Home / Function/ isWritable() — netty Function Reference

isWritable() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  ec787674_66eb_7f49_f9fb_2739d5f8c34e["isWritable()"]
  b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6["FlowState"]
  ec787674_66eb_7f49_f9fb_2739d5f8c34e -->|defined in| b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6
  df1d8530_f007_6158_5a9b_c0b221ef5241["isWritable()"]
  df1d8530_f007_6158_5a9b_c0b221ef5241 -->|calls| ec787674_66eb_7f49_f9fb_2739d5f8c34e
  1cd8a8f6_03dd_3223_8eab_30f7f01b261c["isChannelWritable0()"]
  1cd8a8f6_03dd_3223_8eab_30f7f01b261c -->|calls| ec787674_66eb_7f49_f9fb_2739d5f8c34e
  727b82c5_12af_6e57_ecb7_e1b96717f7b6["pendingBytes()"]
  ec787674_66eb_7f49_f9fb_2739d5f8c34e -->|calls| 727b82c5_12af_6e57_ecb7_e1b96717f7b6
  7a19e5af_cd64_43b8_9e5a_5f9f20b28c91["windowSize()"]
  ec787674_66eb_7f49_f9fb_2739d5f8c34e -->|calls| 7a19e5af_cd64_43b8_9e5a_5f9f20b28c91
  style ec787674_66eb_7f49_f9fb_2739d5f8c34e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java lines 296–298

        boolean isWritable() {
            return windowSize() > pendingBytes() && !cancelled;
        }

Domain

Subdomains

Frequently Asked Questions

What does isWritable() do?
isWritable() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java.
Where is isWritable() defined?
isWritable() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java at line 296.
What does isWritable() call?
isWritable() calls 2 function(s): pendingBytes, windowSize.
What calls isWritable()?
isWritable() is called by 2 function(s): isChannelWritable0, isWritable.

Analyze Your Own Codebase

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

Try Supermodel Free