public final class AIMDLimit extends AbstractLimit
Limit
that does an additive increment as long as
there are no errors and a multiplicative decrement when there is an error.Modifier and Type | Class and Description |
---|---|
static class |
AIMDLimit.Builder |
Modifier and Type | Method and Description |
---|---|
protected int |
_update(long startTime,
long rtt,
int inflight,
boolean didDrop) |
static AIMDLimit.Builder |
newBuilder() |
java.lang.String |
toString() |
getLimit, notifyOnChange, onSample, setLimit
public static AIMDLimit.Builder newBuilder()
protected int _update(long startTime, long rtt, int inflight, boolean didDrop)
_update
in class AbstractLimit
public java.lang.String toString()
toString
in class java.lang.Object