Class 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

      Fields 
      Modifier and Type Field Description
      protected int maxCount
      The fetch limit for all bins matching that regexp
      protected java.util.regex.Pattern regexp
      Regexp
    • Constructor Summary

      Constructors 
      Constructor Description
      ThrottleLimitSpec​(java.lang.String regexp, int maxCount)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 final java.util.regex.Pattern regexp
        Regexp
      • maxCount

        protected final int maxCount
        The fetch limit for all bins matching that regexp
    • Constructor Detail

      • ThrottleLimitSpec

        public 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