BasePath resultsPath = platform.makePath(curLoopDirPath, CrawlConfig.RESULTS_SUBDIR_NAME);
validateEntryCount(platform, resultsPath, null, 3, "page results", true);
} finally {
if (server != null) {
server.stop();
}
}
}
private Server startServer(Handler handler, int port) throws Exception {