Constructor and Description |
---|
SettableLimit(int limit) |
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() |
void |
setLimit(int limit) |
static SettableLimit |
startingAt(int limit) |
java.lang.String |
toString() |
void |
update(long rtt)
Update the concurrency limit using a new rtt sample
|
public static SettableLimit startingAt(int limit)
public int getLimit()
public void update(long rtt)
Limit
public void drop()
Limit
public void setLimit(int limit)
public java.lang.String toString()
toString
in class java.lang.Object