public class IndexerQueue extends Object
Modifier and Type | Method and Description |
---|---|
void |
consume()
Sequentially take objects from the queue and index them, blocking indefinitely while waiting for new objects to
be added to the queue.
|
static IndexerQueue |
getInstance()
Factory method for obtaining the unique instance of this class.
|
void |
populate()
Check the database for any new ArchiveFile objects and add them to the queue.
|
protected static void |
resestSingleton()
Convenience method for use in unit tests.
|
public static IndexerQueue getInstance()
public void populate()
public void consume()
protected static void resestSingleton()
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.