`
shareHua
  • 浏览: 13905 次
  • 性别: Icon_minigender_1
  • 来自: 群:57917725
社区版块
存档分类
最新评论

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()
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics