org.apache.manifoldcf.crawler.interfaces
Class PerformanceStatistics.AveragingRecord

java.lang.Object
  extended by org.apache.manifoldcf.crawler.interfaces.PerformanceStatistics.AveragingRecord
Enclosing class:
PerformanceStatistics

protected static class PerformanceStatistics.AveragingRecord
extends java.lang.Object

This class contains the data for a single document set against the given connection


Field Summary
protected  int documentCount
           
protected  long elapsedTime
           
 
Constructor Summary
PerformanceStatistics.AveragingRecord(int documentCount, long elapsedTime)
           
 
Method Summary
 double calculateRate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentCount

protected int documentCount

elapsedTime

protected long elapsedTime
Constructor Detail

PerformanceStatistics.AveragingRecord

public PerformanceStatistics.AveragingRecord(int documentCount,
                                             long elapsedTime)
Method Detail

calculateRate

public double calculateRate()