Modifier and Type | Method and Description |
---|---|
void |
drop()
The request failed and was dropped due to being rejected by an external limit
or hitting a timeout.
|
int |
getLimit() |
static FixedLimit |
of(int limit) |
java.lang.String |
toString() |
void |
update(long rtt)
Update the concurrency limit using a new rtt sample
|
public static FixedLimit of(int limit)
public int getLimit()
public void update(long rtt)
Limit
public void drop()
Limit
public java.lang.String toString()
toString
in class java.lang.Object