Interface QuicConnectionPathStats


public interface QuicConnectionPathStats
Statistics about a path of the QUIC connection. If unknown by the implementation it might return -1 values for the various methods.
  • Method Details

    • localAddress

      InetSocketAddress localAddress()
      Returns:
      The local address used by this path.
    • peerAddress

      InetSocketAddress peerAddress()
      Returns:
      The peer address seen by this path.
    • validationState

      long validationState()
      Returns:
      The validation state of the path.
    • active

      boolean active()
      Returns:
      Whether this path is active.
    • recv

      long recv()
      Returns:
      The number of QUIC packets received on this path.
    • sent

      long sent()
      Returns:
      The number of QUIC packets sent on this path.
    • lost

      long lost()
      Returns:
      The number of QUIC packets that were lost on this path.
    • retrans

      long retrans()
      Returns:
      The number of sent QUIC packets with retransmitted data on this path.
    • rtt

      long rtt()
      Returns:
      The estimated round-trip time of the path (in nanoseconds).
    • cwnd

      long cwnd()
      Returns:
      The size of the path's congestion window in bytes.
    • sentBytes

      long sentBytes()
      Returns:
      The number of sent bytes on this path.
    • recvBytes

      long recvBytes()
      Returns:
      The number of received bytes on this path.
    • lostBytes

      long lostBytes()
      Returns:
      The number of bytes lost on this path.
    • streamRetransBytes

      long streamRetransBytes()
      Returns:
      The number of stream bytes retransmitted on this path.
    • pmtu

      long pmtu()
      Returns:
      The current PMTU for the path.
    • deliveryRate

      long deliveryRate()
      Returns:
      The most recent data delivery rate estimate in bytes/s.