Home / Function/ fireChannelWritabilityChanged() — netty Function Reference

fireChannelWritabilityChanged() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a896dd21_356b_4301_0b7c_d2512527d029["fireChannelWritabilityChanged()"]
  bcb58015_0c85_17e2_f1b3_0c1ad3aaa388["AbstractHttp2StreamChannel"]
  a896dd21_356b_4301_0b7c_d2512527d029 -->|defined in| bcb58015_0c85_17e2_f1b3_0c1ad3aaa388
  83a9ef69_d166_c780_667b_643909762238["setWritable()"]
  83a9ef69_d166_c780_667b_643909762238 -->|calls| a896dd21_356b_4301_0b7c_d2512527d029
  0e69b272_0119_282e_1d37_1a15c86716b8["setUnwritable()"]
  0e69b272_0119_282e_1d37_1a15c86716b8 -->|calls| a896dd21_356b_4301_0b7c_d2512527d029
  style a896dd21_356b_4301_0b7c_d2512527d029 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 318–334

    private void fireChannelWritabilityChanged(boolean invokeLater) {
        final ChannelPipeline pipeline = pipeline();
        if (invokeLater) {
            Runnable task = fireChannelWritabilityChangedTask;
            if (task == null) {
                fireChannelWritabilityChangedTask = task = new Runnable() {
                    @Override
                    public void run() {
                        pipeline.fireChannelWritabilityChanged();
                    }
                };
            }
            eventLoop().execute(task);
        } else {
            pipeline.fireChannelWritabilityChanged();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free