Class RepositoryConnection.ThrottleItem

  • Enclosing class:
    RepositoryConnection

    protected static class RepositoryConnection.ThrottleItem
    extends java.lang.Object
    Throttle item class. Each instance describes a particular throttle.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String description
      The description.
      protected java.lang.String match
      The regexp key.
      protected float value
      The throttle value
    • Constructor Summary

      Constructors 
      Constructor Description
      ThrottleItem​(java.lang.String match, java.lang.String description, float value)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Compare.
      java.lang.String getDescription()
      Get the description.
      java.lang.String getMatch()
      Get the match.
      float getValue()
      Get the throttle value.
      int hashCode()
      Get the hash code.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • match

        protected java.lang.String match
        The regexp key.
      • description

        protected java.lang.String description
        The description.
      • value

        protected float value
        The throttle value
    • Constructor Detail

      • ThrottleItem

        public ThrottleItem​(java.lang.String match,
                            java.lang.String description,
                            float value)
        Constructor.
    • Method Detail

      • getMatch

        public java.lang.String getMatch()
        Get the match.
      • getDescription

        public java.lang.String getDescription()
        Get the description.
      • getValue

        public float getValue()
        Get the throttle value.
      • hashCode

        public int hashCode()
        Get the hash code.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Compare.
        Overrides:
        equals in class java.lang.Object