Package org.springside.modules.metrics.reporter

Examples of org.springside.modules.metrics.reporter.ConsoleReporter


public class ReporterTest {

  @Test
  public void consoleReporter() {
    runReport(new ConsoleReporter());
  }
View Full Code Here


    runReport(new GraphiteReporter(new InetSocketAddress("localhost", 2003)));
  }

  @Test
  public void schedulerStartStop() throws InterruptedException {
    ReportScheduler scheduler = new ReportScheduler(new MetricRegistry(), new ConsoleReporter());
    scheduler.start(1, TimeUnit.SECONDS);
    Thread.sleep(2000);
    scheduler.stop();
  }
View Full Code Here

TOP

Related Classes of org.springside.modules.metrics.reporter.ConsoleReporter

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.