|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.scheduler.HarvestJobGenerator
public class HarvestJobGenerator
Handles the generation of new jobs based on the harvest definitions in
persistent storage. The HarvestJobGenerator
continuously scans
the harvest definition database for harvest which should be run now. If a HD
defines a harvest which should be run, a Harvest Job is created in the
harvest job database.
Nested Class Summary | |
---|---|
(package private) static class |
HarvestJobGenerator.JobGeneratorTask
Contains the functionality for the individual JobGenerations |
Constructor Summary | |
---|---|
HarvestJobGenerator()
|
Method Summary | |
---|---|
(package private) static void |
clearGeneratingJobs()
|
void |
shutdown()
The inverse of the start() method. |
void |
start()
Starts the job generation scheduler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HarvestJobGenerator()
Method Detail |
---|
public void start()
start
in interface ComponentLifeCycle
public void shutdown()
ComponentLifeCycle
start()
method. Contains functionality
for deallocation of ressources, clearing data, closing connections,
stopping threads, etc
shutdown
in interface ComponentLifeCycle
static void clearGeneratingJobs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |