gov.nasa.pds.harvest.crawler.daemon
Class HarvestDaemon

java.lang.Object
  extended by gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon
      extended by gov.nasa.pds.harvest.crawler.daemon.HarvestDaemon

public class HarvestDaemon
extends gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon

Class that provides the capability to make the Harvest Tool run in persistance mode.

Author:
mcayanan

Constructor Summary
HarvestDaemon(int wait, List<PDSProductCrawler> crawlers, int port, AssociationPublisher associationPublisher, RegistryIngester ingester)
          Constructor
 
Method Summary
 void startCrawling()
          Starts the crawling mechanism.
 
Methods inherited from class gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon
getAverageCrawlTime, getCrawler, 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

HarvestDaemon

public HarvestDaemon(int wait,
                     List<PDSProductCrawler> crawlers,
                     int port,
                     AssociationPublisher associationPublisher,
                     RegistryIngester ingester)
Constructor

Parameters:
wait - The time in seconds to wait in between crawls.
crawlers - A list of PDSProductCrawler objects to be used during crawler persistance.
port - The port nunmber to be used.
associationPublisher - An AssociationPublisher object to process the associations.
Method Detail

startCrawling

public void startCrawling()
Starts the crawling mechanism.

Overrides:
startCrawling in class gov.nasa.jpl.oodt.cas.crawl.daemon.CrawlDaemon


Copyright © 2010–2014 Planetary Data System. All rights reserved.