dk.netarkivet.harvester.harvesting.report
Class BnfHarvestReport

java.lang.Object
  extended by dk.netarkivet.harvester.harvesting.report.AbstractHarvestReport
      extended by dk.netarkivet.harvester.harvesting.report.BnfHarvestReport
All Implemented Interfaces:
HarvestReport, java.io.Serializable

public class BnfHarvestReport
extends AbstractHarvestReport

This implementation of the harvest report has the same pre-processing as LegacyHarvestReport, but is intended to be used with a crawl order that sets budget using "queue-total-budget" instead of the QuotaEnforcer (@see HarvesterSettings.USE_QUOTA_ENFORCER). Hence post-processing cannot rely any more on annotations added by QuotaEnforcer anymore and thus simply compares actual document counts to crawl and configuration budgets.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class dk.netarkivet.harvester.harvesting.report.AbstractHarvestReport
AbstractHarvestReport.ProgressStatisticsConstants
 
Constructor Summary
BnfHarvestReport(HeritrixFiles files)
           
 
Method Summary
 void postProcess(Job job)
          Post-processing happens on the scheduler side when ARC files have been uploaded.
 
Methods inherited from class dk.netarkivet.harvester.harvesting.report.AbstractHarvestReport
findDefaultStopReason, getByteCount, getDefaultStopReason, getDomainNames, getHeritrixFiles, getObjectCount, getOrCreateDomainStats, getStopReason, preProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BnfHarvestReport

public BnfHarvestReport(HeritrixFiles files)
                 throws IOFailure
Throws:
IOFailure
Method Detail

postProcess

public void postProcess(Job job)
Post-processing happens on the scheduler side when ARC files have been uploaded.

Specified by:
postProcess in interface HarvestReport
Specified by:
postProcess in class AbstractHarvestReport
Parameters:
job - the actual job.