|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.interfaces.QueueTracker.ThrottleLimitSpec
protected static class QueueTracker.ThrottleLimitSpec
This is a class which describes an individual throttle limit, in fetches per millisecond.
| Field Summary | |
|---|---|
protected double |
maxRate
The fetch limit for all bins matching that regexp, in fetches per millisecond |
protected java.util.regex.Pattern |
regexp
Regexp |
| Constructor Summary | |
|---|---|
QueueTracker.ThrottleLimitSpec(java.lang.String regexp,
double maxRate)
Constructor |
|
| Method Summary | |
|---|---|
double |
getMaxRate()
Get the max count |
java.util.regex.Pattern |
getRegexp()
Get the regexp. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.regex.Pattern regexp
protected double maxRate
| Constructor Detail |
|---|
public QueueTracker.ThrottleLimitSpec(java.lang.String regexp,
double maxRate)
throws java.util.regex.PatternSyntaxException
java.util.regex.PatternSyntaxException| Method Detail |
|---|
public java.util.regex.Pattern getRegexp()
public double getMaxRate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||