org.apache.manifoldcf.crawler.jobs
Class JobManager.ThrottleLimitSpec

java.lang.Object
  extended by org.apache.manifoldcf.crawler.jobs.JobManager.ThrottleLimitSpec
Enclosing class:
JobManager

protected static class JobManager.ThrottleLimitSpec
extends java.lang.Object

This is a class which describes an individual throttle limit, in fetches.


Field Summary
protected  int maxCount
          The fetch limit for all bins matching that regexp
protected  java.util.regex.Pattern regexp
          Regexp
 
Constructor Summary
JobManager.ThrottleLimitSpec(java.lang.String regexp, int maxCount)
          Constructor
 
Method Summary
 int getMaxCount()
          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

regexp

protected java.util.regex.Pattern regexp
Regexp


maxCount

protected int maxCount
The fetch limit for all bins matching that regexp

Constructor Detail

JobManager.ThrottleLimitSpec

public JobManager.ThrottleLimitSpec(java.lang.String regexp,
                                    int maxCount)
                             throws java.util.regex.PatternSyntaxException
Constructor

Throws:
java.util.regex.PatternSyntaxException
Method Detail

getRegexp

public java.util.regex.Pattern getRegexp()
Get the regexp.


getMaxCount

public int getMaxCount()
Get the max count