Package com.dianping.cat.report.page.cdn.graph

Examples of com.dianping.cat.report.page.cdn.graph.CdnReportConvertor


    } else {
      MetricReport report = getReportFromCache(product, time);
      String cdn = properties.get("cdn");
      String province = properties.get("province");
      String city = properties.get("city");
      CdnReportConvertor cdnReportConvertor = new CdnReportConvertor(m_ipService);

      cdnReportConvertor.setProvince(province).setCity(city).setCdn(cdn);
      cdnReportConvertor.visitMetricReport(report);

      return cdnReportConvertor.getReport();
    }
  }
View Full Code Here


        } else if (Constants.METRIC_CDN.equals(metricType)) {
          String cdn = payload.getCdn();
          String province = payload.getProvince();
          String city = payload.getCity();
          MetricReport metricReport = (MetricReport) response.getModel();
          CdnReportConvertor cdnReportConvertor = new CdnReportConvertor(m_ipService);

          cdnReportConvertor.setProvince(province).setCity(city).setCdn(cdn);
          cdnReportConvertor.visitMetricReport(metricReport);
          ((ModelResponse<MetricReport>) response).setModel(cdnReportConvertor.getReport());
        }

      } else if (DependencyAnalyzer.ID.equals(report)) {
        response = m_dependencyService.invoke(request);
      } else {
View Full Code Here

TOP

Related Classes of com.dianping.cat.report.page.cdn.graph.CdnReportConvertor

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.