|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon
gov.nasa.pds.harvest.crawler.daemon.HarvestDaemon
public class HarvestDaemon
Class that provides the capability to make the Harvest Tool run continuously via a daemon.
Constructor Summary | |
---|---|
HarvestDaemon(int wait,
PDSProductCrawler crawler,
int port)
Constructor |
Method Summary | |
---|---|
PDSProductCrawler |
getCrawler()
Get the crawler being used. |
void |
startCrawling()
Starts the crawling mechanism. |
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon |
---|
getAverageCrawlTime, getMilisCrawling, getNumCrawls, getWaitInterval, isRunning, setCrawler, setMilisCrawling, setNumCrawls, setWaitInterval, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HarvestDaemon(int wait, PDSProductCrawler crawler, int port)
wait
- The time in seconds to wait in between crawls.crawler
- The PDSProductCrawler to be used.port
- The port nunmber to be used.Method Detail |
---|
public void startCrawling()
startCrawling
in class gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon
public PDSProductCrawler getCrawler()
getCrawler
in class gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |