protected static class PriorityCalculator.ThrottleLimitSpec extends Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
maxRate
The fetch limit for all bins matching that regexp, in fetches per millisecond
|
protected Pattern |
regexp
Regexp
|
| Constructor and Description |
|---|
PriorityCalculator.ThrottleLimitSpec(String regexp,
double maxRate)
Constructor
|
protected final Pattern regexp
protected final double maxRate
public PriorityCalculator.ThrottleLimitSpec(String regexp, double maxRate) throws PatternSyntaxException
PatternSyntaxExceptionpublic Pattern getRegexp()
public double getMaxRate()