org.apache.fulcrum.yaafi.interceptor.jamon
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
 java.lang.String createReport()
          Create a performance report
 void start()
          Start the monitor.
 void stop()
          Stop the monitor.
 void stop(java.lang.Throwable throwable)
          Stop the monitor based on an Throwable.
 

Method Detail

start

void start()
Start the monitor.


stop

void stop()
Stop the monitor.


stop

void stop(java.lang.Throwable throwable)
Stop the monitor based on an Throwable.

Parameters:
throwable - the throwable

createReport

java.lang.String createReport()
                              throws java.lang.Exception
Create a performance report

Returns:
the textual performance report
Throws:
java.lang.Exception - generating the report failed


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.