Home / Function/ incrementKnownReceivedCount() — netty Function Reference

incrementKnownReceivedCount() — netty Function Reference

Architecture documentation for the incrementKnownReceivedCount() function in QpackEncoderDynamicTable.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9a14e250_717c_465f_08fd_352c3d9743cf["incrementKnownReceivedCount()"]
  4f2fd884_2460_757f_867b_2f1f2c79f9b9["QpackEncoderDynamicTable"]
  9a14e250_717c_465f_08fd_352c3d9743cf -->|defined in| 4f2fd884_2460_757f_867b_2f1f2c79f9b9
  822bfefa_4189_eccb_7fbf_ad08f0e65e18["evictUnreferencedEntries()"]
  9a14e250_717c_465f_08fd_352c3d9743cf -->|calls| 822bfefa_4189_eccb_7fbf_ad08f0e65e18
  style 9a14e250_717c_465f_08fd_352c3d9743cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java lines 218–234

    void incrementKnownReceivedCount(int knownReceivedCountIncr) throws QpackException {
        if (knownReceivedCountIncr <= 0) {
            throw INVALID_KNOW_RECEIVED_COUNT_INCREMENT;
        }
        while (knownReceived.next != null && knownReceivedCountIncr > 0) {
            knownReceived = knownReceived.next;
            knownReceivedCountIncr--;
        }
        if (knownReceivedCountIncr == 0) {
            evictUnreferencedEntries();
            return;
        }
        // We have reached the end of the linked list so the index was invalid and hence the connection should be
        // closed.
        // https://www.rfc-editor.org/rfc/rfc9204.html#name-decoder-instructions
        throw INVALID_KNOW_RECEIVED_COUNT_INCREMENT;
    }

Domain

Subdomains

Frequently Asked Questions

What does incrementKnownReceivedCount() do?
incrementKnownReceivedCount() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java.
Where is incrementKnownReceivedCount() defined?
incrementKnownReceivedCount() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java at line 218.
What does incrementKnownReceivedCount() call?
incrementKnownReceivedCount() calls 1 function(s): evictUnreferencedEntries.

Analyze Your Own Codebase

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

Try Supermodel Free