Package com.dianping.cat.consumer.transaction

Examples of com.dianping.cat.consumer.transaction.TransactionReportCountFilter


    Date date = transactionReport.getStartTime();
    transactionReport.setStartTime(TaskHelper.todayZero(date));
    Date end = new Date(TaskHelper.tomorrowZero(date).getTime() - 1000);
    transactionReport.setEndTime(end);

    new TransactionReportCountFilter().visitTransactionReport(transactionReport);
    return transactionReport;
  }
View Full Code Here


    }
    TransactionReport transactionReport = merger.getTransactionReport();

    transactionReport.setStartTime(start);
    transactionReport.setEndTime(end);
    new TransactionReportCountFilter().visitTransactionReport(transactionReport);
    return transactionReport;
  }
View Full Code Here

    for (String domain : domains) {
      if (m_configManger.validateDomain(domain)) {
        Transaction t = Cat.newTransaction("ReloadTask", "Reload-Month-" + domain);

        TransactionReport transactionReport = m_reportService.queryTransactionReport(domain, start, end);
        new TransactionReportCountFilter().visitTransactionReport(transactionReport);

        m_reportService.insertMonthlyReport(buildMonthlyReport(domain, start, TransactionAnalyzer.ID),
              com.dianping.cat.consumer.transaction.model.transform.DefaultNativeBuilder.build(transactionReport));

        EventReport eventReport = m_reportService.queryEventReport(domain, start, end);
View Full Code Here

    for (String domain : domains) {
      if (m_configManger.validateDomain(domain)) {
        Transaction t = Cat.newTransaction("ReloadTask", "Reload-Week-" + domain);

        TransactionReport transactionReport = m_reportService.queryTransactionReport(domain, start, end);
        new TransactionReportCountFilter().visitTransactionReport(transactionReport);

        m_reportService.insertWeeklyReport(buildWeeklyReport(domain, start, TransactionAnalyzer.ID),
              com.dianping.cat.consumer.transaction.model.transform.DefaultNativeBuilder.build(transactionReport));

        EventReport eventReport = m_reportService.queryEventReport(domain, start, end);
View Full Code Here

TOP

Related Classes of com.dianping.cat.consumer.transaction.TransactionReportCountFilter

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.