public class WaybackIndexer extends Object implements CleanupIF
There is 1 producer thread which runs as a timer thread, for example once a day, and runs first a FileNameHarvester to get a list of all files in the archive after which it fills the indexer queue with any new files found.
Simultaneously there is a family of consumer threads which wait for the queue to be populated and take elements from it and index them.
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Performs any necessary cleanup functions.
|
static WaybackIndexer |
getInstance()
Factory method which creates a singleton wayback indexer and sets it running.
|
public static WaybackIndexer getInstance()
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.