Home / Function/ channelWritabilityChanged() — netty Function Reference

channelWritabilityChanged() — netty Function Reference

Architecture documentation for the channelWritabilityChanged() function in Http2MultiplexHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e8d6be38_e672_2ab0_dcb4_017d2c8f612c["channelWritabilityChanged()"]
  42ad104c_27ce_3949_598d_983571f45120["Http2MultiplexHandler"]
  e8d6be38_e672_2ab0_dcb4_017d2c8f612c -->|defined in| 42ad104c_27ce_3949_598d_983571f45120
  style e8d6be38_e672_2ab0_dcb4_017d2c8f612c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java lines 203–212

    @Override
    public void channelWritabilityChanged(final ChannelHandlerContext ctx) throws Exception {
        if (ctx.channel().isWritable()) {
            // While the writability state may change during iterating of the streams we just set all of the streams
            // to writable to not affect fairness. These will be "limited" by their own watermarks in any case.
            forEachActiveStream(AbstractHttp2StreamChannel.WRITABLE_VISITOR);
        }

        ctx.fireChannelWritabilityChanged();
    }

Domain

Subdomains

Frequently Asked Questions

What does channelWritabilityChanged() do?
channelWritabilityChanged() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java.
Where is channelWritabilityChanged() defined?
channelWritabilityChanged() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java at line 203.

Analyze Your Own Codebase

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

Try Supermodel Free