org.apache.manifoldcf.crawler.interfaces
Class DepthStatistics

java.lang.Object
  extended by 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
           
 
Constructor Summary
DepthStatistics()
          Constructor
 
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
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values

scanSetBins

protected java.util.ArrayList scanSetBins
Constructor Detail

DepthStatistics

public DepthStatistics()
Constructor

Method Detail

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