Package org.fusesource.hawtdb.metric

Examples of org.fusesource.hawtdb.metric.Period


    }

    protected void displayRates(List<? extends MetricCounter> metrics) throws InterruptedException {
        System.out.println("Gathering rates for: " + getName());
        for (int i = 0; i < samples; i++) {
            Period p = new Period();
            Thread.sleep(period);
            for (MetricCounter metric : metrics) {
                System.out.println(metric.getRateSummary(p));
                metric.reset();
            }
View Full Code Here

TOP

Related Classes of org.fusesource.hawtdb.metric.Period

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.