org.apache.manifoldcf.crawler.interfaces
Class DepthStatistics
java.lang.Object
org.apache.manifoldcf.crawler.interfaces.DepthStatistics
public class DepthStatistics
- extends java.lang.Object
An instance of this class keeps a running average of how long it takes for every connection to process a document.
This information is used to limit queuing per connection to something reasonable given the characteristics of the connection.
|
Field Summary |
static java.lang.String |
_rcsid
|
protected java.util.ArrayList |
scanSetBins
|
|
Method Summary |
void |
addBins(java.lang.Double priority)
Add a document's bins to the set |
java.lang.Double[] |
getBins()
Grab all the bins in a big array |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
scanSetBins
protected java.util.ArrayList scanSetBins
DepthStatistics
public DepthStatistics()
- Constructor
addBins
public void addBins(java.lang.Double priority)
- Add a document's bins to the set
getBins
public java.lang.Double[] getBins()
- Grab all the bins in a big array