Package io.netty.handler.codec.quic
Interface QuicConnectionPathStats
-
public interface QuicConnectionPathStatsStatistics about a path of theQUICconnection. If unknown by the implementation it might return-1values for the various methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanactive()longcwnd()longdeliveryRate()java.net.InetSocketAddresslocalAddress()longlost()longlostBytes()java.net.InetSocketAddresspeerAddress()longpmtu()longrecv()longrecvBytes()longretrans()longrtt()longsent()longsentBytes()longstreamRetransBytes()longvalidationState()
-
-
-
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.
-
-