Package com.flaptor.hounder.crawler.modules

Examples of com.flaptor.hounder.crawler.modules.CommandWithPageDB


    /**
     * Signals the start of a crawl cycle.
     * @param oldPageDB the pagedb from which the crawler will read pages during this cycle.
     */
    public void declareStartCycle (PageDB oldPageDB) {
        CommandWithPageDB cmd = new CommandWithPageDB("startCycle",oldPageDB);
        ModulesManager.getInstance().applyCommand(cmd);
    }
View Full Code Here


    /**
     * Signals the end of a crawl cycle.
     * @param newPageDB the pagedb that the crawler has created during this cycle.
     */
    public void declareEndCycle (PageDB newPageDB) {
        CommandWithPageDB cmd = new CommandWithPageDB("endCycle",newPageDB);
        ModulesManager.getInstance().applyCommand(cmd);
    }
View Full Code Here

TOP

Related Classes of com.flaptor.hounder.crawler.modules.CommandWithPageDB

Copyright © 2018 www.massapicom. 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.