// not needed in the new API
//LinkDb linkDbTool = new LinkDb(getConf());
long start = System.currentTimeMillis();
// initialize crawlDb
injector.inject(rootUrlDir);
long delta = System.currentTimeMillis() - start;
res.addTiming("inject", "0", delta);
int i;
for (i = 0; i < depth; i++) { // generate new segment
start = System.currentTimeMillis();