| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv Deadline | |
| pack-priv long | |
| pack-priv final String | |
| private static final int | |
| pack-priv final Lock | |
| private static final int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| private final QuicPacer | |
| pack-priv long | |
| pack-priv final TimeLine |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | appLimited()
Implements jdk. Notify the congestion controller that sending is app-limited |
| public boolean | canSendPacket()
Implements jdk. Returns true if a new non-ACK packet can be sent at this time. |
| pack-priv abstract boolean | |
| public long | congestionWindow()
Implements jdk. Returns the current size of the congestion window in bytes. |
| pack-priv boolean | |
| private static boolean | |
| public long | initialWindow()
Implements jdk. Returns the initial window size in bytes. |
| public boolean | isCwndLimited()
Implements jdk. Returns true if sending is blocked by congestion window. |
| public boolean | isPacerLimited()
Implements jdk. Returns true if sending is blocked by pacer. |
| public boolean | isSlowStart()
Implements jdk. Returns true if the connection is in slow start phase. |
| public long | maxDatagramSize()
Implements jdk. Returns maximum datagram size. |
| pack-priv abstract void | |
| public Deadline | pacerDeadline()
Implements jdk. Returns deadline when pacer will unblock sending. |
| public void | packetAcked(int packetBytes, Deadline sentTime)
Implements jdk. Update CC after a non-ACK packet is acked |
| public void | packetDiscarded(Collection<QuicPacket> discardedPackets)
Implements jdk. Update CC after packets are discarded |
| public void | packetLost(Collection<QuicPacket> lostPackets, Deadline sentTime, boolean persistent)
Implements jdk. Update CC after packets are declared lost |
| public void | packetSent(int packetBytes)
Implements jdk. Update CC with a non-ACK packet |
| public void | updateMaxDatagramSize(int newSize)
Implements jdk. Update the maximum datagram size |
| public void | updatePacer(Deadline now)
Implements jdk. Update the pacer with the current time |
| bytesInFlight | back to summary |
|---|---|
| pack-priv long bytesInFlight | |
| congestionRecoveryStartTime | back to summary |
|---|---|
| pack-priv Deadline congestionRecoveryStartTime | |
| congestionWindow | back to summary |
|---|---|
| pack-priv long congestionWindow | |
| dbgTag | back to summary |
|---|---|
| pack-priv final String dbgTag | |
| INITIAL_WINDOW | back to summary |
|---|---|
| private static final int INITIAL_WINDOW | |
| lock | back to summary |
|---|---|
| pack-priv final Lock lock | |
| MAX_BYTES_IN_FLIGHT | back to summary |
|---|---|
| private static final int MAX_BYTES_IN_FLIGHT | |
| maxBytesInFlight | back to summary |
|---|---|
| pack-priv long maxBytesInFlight | |
| maxDatagramSize | back to summary |
|---|---|
| pack-priv int maxDatagramSize | |
| minimumWindow | back to summary |
|---|---|
| pack-priv int minimumWindow | |
| pacer | back to summary |
|---|---|
| private final QuicPacer pacer | |
| ssThresh | back to summary |
|---|---|
| pack-priv long ssThresh | |
| timeSource | back to summary |
|---|---|
| pack-priv final TimeLine timeSource | |
| QuicBaseCongestionController | back to summary |
|---|---|
| pack-priv QuicBaseCongestionController(String dbgTag, QuicRttEstimator rttEstimator) | |
| QuicBaseCongestionController | back to summary |
|---|---|
| pack-priv QuicBaseCongestionController(String dbgTag, TimeLine source, QuicRttEstimator rttEstimator) | |
| appLimited | back to summary |
|---|---|
| public void appLimited() Implements jdk. Doc from jdk. Notify the congestion controller that sending is app-limited
| |
| canSendPacket | back to summary |
|---|---|
| public boolean canSendPacket() Implements jdk. Doc from jdk. Returns true if a new non-ACK packet can be sent at this time.
| |
| congestionAvoidanceAcked | back to summary |
|---|---|
| pack-priv abstract boolean congestionAvoidanceAcked(int packetBytes, Deadline sentTime) | |
| congestionWindow | back to summary |
|---|---|
| public long congestionWindow() Implements jdk. Doc from jdk. Returns the current size of the congestion window in bytes.
| |
| inCongestionRecovery | back to summary |
|---|---|
| pack-priv boolean inCongestionRecovery(Deadline sentTime) | |
| inFlight | back to summary |
|---|---|
| private static boolean inFlight(QuicPacket packet) | |
| initialWindow | back to summary |
|---|---|
| public long initialWindow() Implements jdk. Doc from jdk. Returns the initial window size in bytes.
| |
| isCwndLimited | back to summary |
|---|---|
| public boolean isCwndLimited() Implements jdk. Doc from jdk. Returns true if sending is blocked by congestion window.
| |
| isPacerLimited | back to summary |
|---|---|
| public boolean isPacerLimited() Implements jdk. Doc from jdk. Returns true if sending is blocked by pacer.
| |
| isSlowStart | back to summary |
|---|---|
| public boolean isSlowStart() Implements jdk. Doc from jdk. Returns true if the connection is in slow start phase.
| |
| maxDatagramSize | back to summary |
|---|---|
| public long maxDatagramSize() Implements jdk. Doc from jdk. Returns maximum datagram size.
| |
| onCongestionEvent | back to summary |
|---|---|
| pack-priv abstract void onCongestionEvent(Deadline sentTime) | |
| pacerDeadline | back to summary |
|---|---|
| public Deadline pacerDeadline() Implements jdk. Doc from jdk. Returns deadline when pacer will unblock sending.
| |
| packetAcked | back to summary |
|---|---|
| public void packetAcked(int packetBytes, Deadline sentTime) Implements jdk. Doc from jdk. Update CC after a non-ACK packet is acked
| |
| packetDiscarded | back to summary |
|---|---|
| public void packetDiscarded(Collection<QuicPacket> discardedPackets) Implements jdk. Doc from jdk. Update CC after packets are discarded
| |
| packetLost | back to summary |
|---|---|
| public void packetLost(Collection<QuicPacket> lostPackets, Deadline sentTime, boolean persistent) Implements jdk. Doc from jdk. Update CC after packets are declared lost
| |
| packetSent | back to summary |
|---|---|
| public void packetSent(int packetBytes) Implements jdk. Doc from jdk. Update CC with a non-ACK packet
| |
| updateMaxDatagramSize | back to summary |
|---|---|
| public void updateMaxDatagramSize(int newSize) Implements jdk. Doc from jdk. Update the maximum datagram size
| |
| updatePacer | back to summary |
|---|---|
| public void updatePacer(Deadline now) Implements jdk. Doc from jdk. Update the pacer with the current time
| |