Class Jamon1PerformanceMonitorImpl
java.lang.Object
org.apache.fulcrum.yaafi.interceptor.jamon.Jamon1PerformanceMonitorImpl
- All Implemented Interfaces:
JamonPerformanceMonitor
Deprecated.
JAMon 1.x is ancient so it is a good idea to upgrade to 2.x
Ecapsulating the JAMon 1.x related API calls
- Author:
- Siegfried Goeschl
-
Constructor Summary
ConstructorsConstructorDescriptionJamon1PerformanceMonitorImpl
(String serviceName, Method method, Boolean isActive) Deprecated.Constructor. -
Method Summary
-
Constructor Details
-
Jamon1PerformanceMonitorImpl
Deprecated.Constructor.- Parameters:
serviceName
- the service name of the service being monitoredmethod
- the method to be monitoredisActive
- is this an active monitor
-
-
Method Details
-
start
public void start()Deprecated.Start the monitor.- Specified by:
start
in interfaceJamonPerformanceMonitor
-
stop
public void stop()Deprecated.Start the monitor.- Specified by:
stop
in interfaceJamonPerformanceMonitor
-
stop
Deprecated.Stop the monitor based on an Throwable.- Specified by:
stop
in interfaceJamonPerformanceMonitor
- Parameters:
throwable
- the throwable
-
createReport
Deprecated.Create a performance report- Specified by:
createReport
in interfaceJamonPerformanceMonitor
- Returns:
- the textual performance report
- Throws:
Exception
- generating the report failed
-