Package org.opensolaris.opengrok.util

Examples of org.opensolaris.opengrok.util.Statistics.report()


                    "An error occured while creating cache for " + path + " ("
                    + type + ")", e);
            }

            if (verbose) {
                elapsed.report(log, "Done historycache for " + path);
            }
        } else {
            log.log(Level.WARNING, "Skipping creation of historycache of "
                + type + " repository in " + path + ": Missing SCM dependencies?");
        }
View Full Code Here


            historyCache.optimize();
        } catch (HistoryException he) {
            OpenGrokLogger.getLogger().log(Level.WARNING,
                    "Failed optimizing the history cache database", he);
        }
        elapsed.report(log, "Done historycache for all repositories");
        historyCache.setHistoryIndexDone();
    }

    public void createCache(Collection<String> repositories) {
        if (!useCache()) {
View Full Code Here

                System.err.println("Exception: " + e.getLocalizedMessage());
                log.log(Level.SEVERE, "Unexpected Exception", e);
                System.exit(1);
            }
            finally {
                stats.report(log);
            }
        }

    }
View Full Code Here

            RuntimeEnvironment.destroyRenamedHistoryExecutor();
        } catch (InterruptedException ex) {
            log.log(Level.SEVERE,
                "destroying of renamed thread pool failed", ex);
        }
        elapsed.report(log, "Done indexing data of all repositories");
    }

    public void sendToConfigHost(RuntimeEnvironment env, String configHost) {
        if (configHost != null) {
            String[] cfg = configHost.split(":");
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.