Interface QuicConnectionStats


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

    • recv

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

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

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

      long retrans()
      Returns:
      The number of sent QUIC packets with retransmitted data.
    • sentBytes

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

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

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

      long streamRetransBytes()
      Returns:
      The number of stream bytes retransmitted.
    • pathsCount

      long pathsCount()
      Returns:
      The number of known paths for the connection.