public class BnfHarvestReport extends AbstractHarvestReport
LegacyHarvestReport
, but is intended
to be used with a crawl order that sets budget using "queue-total-budget" instead of the QuotaEnforcer (@see
HarvesterSettings.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.Constructor and Description |
---|
BnfHarvestReport(DomainStatsReport dsr)
Constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
postProcess(Job job)
Post-processing happens on the scheduler side when ARC files have been uploaded.
|
getByteCount, getDefaultStopReason, getDomainNames, getObjectCount, getOrCreateDomainStats, getStopReason
public BnfHarvestReport(DomainStatsReport dsr) throws IOFailure
dsr
- A DomainStatsReportIOFailure
- If the processing of the files goes wrongpublic void postProcess(Job job)
job
- the actual job.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.