Package com.dianping.cat.home.bug.entity

Examples of com.dianping.cat.home.bug.entity.BugReport.accept()


              DailyReportEntity.READSET_FULL);
        String xml = report.getContent();

        if (xml != null && xml.length() > 0) {
          BugReport reportModel = com.dianping.cat.home.bug.transform.DefaultSaxParser.parse(xml);
          reportModel.accept(merger);
        } else {
          BugReport reportModel = queryFromDailyBinary(report.getId(), domain);
          reportModel.accept(merger);
        }
      } catch (DalNotFoundException e) {
View Full Code Here


        if (xml != null && xml.length() > 0) {
          BugReport reportModel = com.dianping.cat.home.bug.transform.DefaultSaxParser.parse(xml);
          reportModel.accept(merger);
        } else {
          BugReport reportModel = queryFromDailyBinary(report.getId(), domain);
          reportModel.accept(merger);
        }
      } catch (DalNotFoundException e) {
        //ignore
      } catch (Exception e) {
        Cat.logError(e);
View Full Code Here

          String xml = report.getContent();

          try {
            if (xml != null && xml.length() > 0) {
              BugReport reportModel = com.dianping.cat.home.bug.transform.DefaultSaxParser.parse(xml);
              reportModel.accept(merger);
            } else {
              BugReport reportModel = queryFromHourlyBinary(report.getId(), domain);
              reportModel.accept(merger);
            }
          } catch (DalNotFoundException e) {
View Full Code Here

            if (xml != null && xml.length() > 0) {
              BugReport reportModel = com.dianping.cat.home.bug.transform.DefaultSaxParser.parse(xml);
              reportModel.accept(merger);
            } else {
              BugReport reportModel = queryFromHourlyBinary(report.getId(), domain);
              reportModel.accept(merger);
            }
          } catch (DalNotFoundException e) {
            //ignore
          } catch (Exception e) {
            Cat.logError(e);
View Full Code Here

    for (; startTime < endTime; startTime += TimeHelper.ONE_DAY) {
      try {
        BugReport reportModel = m_reportService.queryBugReport(domain, new Date(startTime), new Date(startTime
              + TimeHelper.ONE_DAY));
        reportModel.accept(merger);
      } catch (Exception e) {
        Cat.logError(e);
      }
    }
    BugReport bugReport = merger.getBugReport();
View Full Code Here

    for (; startTime < endTime; startTime = startTime + TimeHelper.ONE_HOUR) {
      Date date = new Date(startTime);
      BugReport reportModel = m_reportService.queryBugReport(domain, date, new Date(date.getTime()
            + TimeHelper.ONE_HOUR));

      reportModel.accept(merger);
    }
    com.dianping.cat.home.bug.entity.BugReport bugReport = merger.getBugReport();

    return bugReport;
  }
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.