Class BnfHarvestReport
- java.lang.Object
-
- dk.netarkivet.harvester.harvesting.report.AbstractHarvestReport
-
- dk.netarkivet.harvester.harvesting.report.BnfHarvestReport
-
- All Implemented Interfaces:
HarvestReport
,Serializable
public class BnfHarvestReport extends AbstractHarvestReport
This implementation of the harvest report has the same pre-processing asLegacyHarvestReport
, but is intended to be used with a crawl order that sets budget using "queue-total-budget" instead of the QuotaEnforcer (@seeHarvesterSettings.OBJECT_LIMIT_SET_BY_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
-
-
Constructor Summary
Constructors Constructor Description BnfHarvestReport(DomainStatsReport dsr)
Constructor for this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
getByteCount, getDefaultStopReason, getDomainNames, getObjectCount, getOrCreateDomainStats, getStopReason
-
-
-
-
Constructor Detail
-
BnfHarvestReport
public BnfHarvestReport(DomainStatsReport dsr) throws IOFailure
Constructor for this class.- Parameters:
dsr
- A DomainStatsReport- Throws:
IOFailure
- If the processing of the files goes wrong
-
-
Method Detail
-
postProcess
public void postProcess(Job job)
Post-processing happens on the scheduler side when ARC files have been uploaded.- Parameters:
job
- the actual job.
-
-