ITeye博客

org.archive.crawler.restlet.JobResource

shareHua · 2012-12-09 23:30 · heritrix3 · 互联网 · Heritrix3 · Markdown

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()

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。