org.archive.crawler.restlet.JobResource

1、build :validateConfiguration()
2、launch:launch()
   new Thread start ,CrawlController.requestCrawlStart()
   getFrontier().run();
3、pause:getCrawlController().requestCrawlPause()
4、unpause:getCrawlController().requestCrawlResume()
   BdbFrontier.unpause()
   BdbFrontier:A Frontier using several BerkeleyDB JE Databases to hold its record of known hosts (queues), and pending URIs.
  
   sendCrawlStateChangeEvent(State.RUNNING, CrawlStatus.RUNNING);

CrawlController noteFrontierState  INFO: Crawl running.
CrawlJob onApplicationEvent INFO: RUNNING 20121211155156

5、checkpoint:getCheckpointService().requestCrawlCheckpoint()
6、terminate:terminate()
7、teardown :teardown()

你可能感兴趣的:(Heritrix3)