Examples of queryStateReport()


Examples of com.dianping.cat.report.service.ReportServiceManager.queryStateReport()

    long start = date.getTime();
    long end = System.currentTimeMillis();
    HistoryStateReportMerger merger = new HistoryStateReportMerger(new StateReport("cat"));

    for (; start < end; start = start + TimeHelper.ONE_DAY) {
      StateReport stateReport = service.queryStateReport("cat", new Date(start), new Date(start + TimeHelper.ONE_DAY));

      stateReport.accept(merger);
    }
    StateReport report = merger.getStateReport();
    new ClearDetailInfo().visitStateReport(report);
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.