Package com.dianping.cat.report.task.heartbeat

Examples of com.dianping.cat.report.task.heartbeat.HeartbeatReportBuilder.buildHourlyTask()


  @Test
  public void test() throws Exception {
    HeartbeatReportBuilder builder = lookup(HeartbeatReportBuilder.class);

    Date period = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse("2013-12-18 10:00:00");
    builder.buildHourlyTask(HeartbeatAnalyzer.ID, "ReviewWeb", period);
  }

  @Test
  public void testProblem() throws Exception {
    ProblemReportBuilder builder = lookup(ProblemReportBuilder.class);
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.