Package io.netty.handler.codec.quic
Interface QuicConnectionPathStats
-
public interface QuicConnectionPathStats
Statistics about a path of theQUIC
connection. If unknown by the implementation it might return-1
values for the various methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
active()
long
cwnd()
long
deliveryRate()
java.net.InetSocketAddress
localAddress()
long
lost()
long
lostBytes()
java.net.InetSocketAddress
peerAddress()
long
pmtu()
long
recv()
long
recvBytes()
long
retrans()
long
rtt()
long
sent()
long
sentBytes()
long
streamRetransBytes()
long
validationState()
-
-
-
Method Detail
-
localAddress
java.net.InetSocketAddress localAddress()
- Returns:
- The local address used by this path.
-
peerAddress
java.net.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.
-
-