Home / Function/ fireChannelReadCompleteIfNeeded() — netty Function Reference

fireChannelReadCompleteIfNeeded() — netty Function Reference

Architecture documentation for the fireChannelReadCompleteIfNeeded() function in QuicCodecDispatcher.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  23c0d12a_8eff_cdbd_734b_cfdcfb62f546["fireChannelReadCompleteIfNeeded()"]
  f72900d8_eb85_edf3_cf81_6ba6c94bf954["ChannelHandlerContextDispatcher"]
  23c0d12a_8eff_cdbd_734b_cfdcfb62f546 -->|defined in| f72900d8_eb85_edf3_cf81_6ba6c94bf954
  95d1ff13_107e_5366_e7f6_d5916dc4618a["channelReadComplete()"]
  95d1ff13_107e_5366_e7f6_d5916dc4618a -->|calls| 23c0d12a_8eff_cdbd_734b_cfdcfb62f546
  68ed6307_0f73_86c8_0e40_fa33ea7b52d6["fireChannelRead()"]
  23c0d12a_8eff_cdbd_734b_cfdcfb62f546 -->|calls| 68ed6307_0f73_86c8_0e40_fa33ea7b52d6
  style 23c0d12a_8eff_cdbd_734b_cfdcfb62f546 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicCodecDispatcher.java lines 315–323

        boolean fireChannelReadCompleteIfNeeded() {
            if (getAndSet(false)) {
                // There was a fireChannelRead() before, let's call fireChannelReadComplete()
                // so the user is aware that we might be done with the reading loop.
                ctx.fireChannelReadComplete();
                return true;
            }
            return false;
        }

Domain

Subdomains

Frequently Asked Questions

What does fireChannelReadCompleteIfNeeded() do?
fireChannelReadCompleteIfNeeded() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicCodecDispatcher.java.
Where is fireChannelReadCompleteIfNeeded() defined?
fireChannelReadCompleteIfNeeded() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicCodecDispatcher.java at line 315.
What does fireChannelReadCompleteIfNeeded() call?
fireChannelReadCompleteIfNeeded() calls 1 function(s): fireChannelRead.
What calls fireChannelReadCompleteIfNeeded()?
fireChannelReadCompleteIfNeeded() is called by 1 function(s): channelReadComplete.

Analyze Your Own Codebase

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

Try Supermodel Free