public class PostProcessing extends Object
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up this singleton, releasing the ArcRepositoryClient and removing the instance.
|
void |
doPostProcessing(File crawlDir,
Throwable crawlException)
Do postprocessing of data in a crawldir.
1.
|
static PostProcessing |
getInstance(JMSConnection jmsConnection)
Get the instance of the singleton HarvestController.
|
void |
processOldJobs()
Looks for old job directories that await uploading of data.
|
public static PostProcessing getInstance(JMSConnection jmsConnection)
public void cleanup()
public void processOldJobs()
public void doPostProcessing(File crawlDir, Throwable crawlException) throws IOFailure
crawlDir
- The location of harvest-info to be processedcrawlException
- any exceptions thrown by the crawl which need to be reported back to the scheduler (may be
null for success)IOFailure
- if the file cannot be readCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.