Home / Function/ collectPathStats0() — netty Function Reference

collectPathStats0() — netty Function Reference

Architecture documentation for the collectPathStats0() function in QuicheQuicChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  59fccddd_45a2_4f60_b419_034e706a53e7["collectPathStats0()"]
  3c534d05_bb5b_c991_5e03_7ec94e739cf7["QuicheQuicChannel"]
  59fccddd_45a2_4f60_b419_034e706a53e7 -->|defined in| 3c534d05_bb5b_c991_5e03_7ec94e739cf7
  6347f956_0ca3_882d_4182_3891c0d63f82["collectPathStats()"]
  6347f956_0ca3_882d_4182_3891c0d63f82 -->|calls| 59fccddd_45a2_4f60_b419_034e706a53e7
  style 59fccddd_45a2_4f60_b419_034e706a53e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java lines 2110–2123

    private void collectPathStats0(int pathIdx, Promise<QuicConnectionPathStats> promise) {
        QuicheQuicConnection conn = connection;
        if (conn.isFreed()) {
            promise.setFailure(new IllegalStateException("Connection is closed"));
            return;
        }

        final Object[] stats = Quiche.quiche_conn_path_stats(connection.address(), pathIdx);
        if (stats == null) {
            promise.setFailure(new IllegalStateException("native quiche_conn_path_stats(...) failed"));
            return;
        }
        promise.setSuccess(new QuicheQuicConnectionPathStats(stats));
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does collectPathStats0() do?
collectPathStats0() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java.
Where is collectPathStats0() defined?
collectPathStats0() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java at line 2110.
What calls collectPathStats0()?
collectPathStats0() is called by 1 function(s): collectPathStats.

Analyze Your Own Codebase

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

Try Supermodel Free