Interface JamonPerformanceMonitor

All Known Implementing Classes:
Jamon1PerformanceMonitorImpl, Jamon2PerformanceMonitorImpl

public interface JamonPerformanceMonitor
Expose the start()/stop() methods for performance monitors independent from their concrete implementation.
Author:
Siegfried Goeschl
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a performance report
    void
    Start the monitor.
    void
    Stop the monitor.
    void
    stop(Throwable throwable)
    Stop the monitor based on an Throwable.
  • Method Details

    • start

      void start()
      Start the monitor.
    • stop

      void stop()
      Stop the monitor.
    • stop

      void stop(Throwable throwable)
      Stop the monitor based on an Throwable.
      Parameters:
      throwable - the throwable
    • createReport

      String createReport() throws Exception
      Create a performance report
      Returns:
      the textual performance report
      Throws:
      Exception - generating the report failed