|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.wayback.indexer.WaybackIndexer
public class WaybackIndexer
The WaybackIndexer starts threads to find new files to be indexed and indexes them. 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.
Field Summary | |
---|---|
(package private) static org.apache.commons.logging.Log |
log
The logger for this class. |
Method Summary | |
---|---|
void |
cleanup()
Performs any necessary cleanup functions. |
static WaybackIndexer |
getInstance()
Factory method which creates a singleton wayback indexer and sets it running. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final org.apache.commons.logging.Log log
Method Detail |
---|
public static WaybackIndexer getInstance()
public void cleanup()
cleanup
in interface CleanupIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |