Package org.archive.crawler.framework

Examples of org.archive.crawler.framework.CrawlJob.terminate()


        CrawlJob cj = heritrix.getEngine().getJob("selftest-job");
       
        // TODO: pause, checkpoint, launch new job, yadda yadda
       
        // for now, just kill & wait
        cj.terminate();
        super.waitForCrawlFinish();
       
//        invokeAndWait("basic", "requestCrawlPause", CrawlStatus.PAUSED);
//        invokeAndWait("basic", "requestCrawlCheckpoint", CrawlStatus.PAUSED);
//        invokeAndWait("basic", "requestCrawlStop", CrawlStatus.FINISHED);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.