Class RepositoryConnection.ThrottleItem
- java.lang.Object
-
- org.apache.manifoldcf.crawler.repository.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.
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Compare.- Overrides:
equals
in classjava.lang.Object
-
-