Class JavaSimon4PerformanceMonitorImpl
java.lang.Object
org.apache.fulcrum.yaafi.interceptor.javasimon.JavaSimon4PerformanceMonitorImpl
- All Implemented Interfaces:
JavaSimonPerformanceMonitor
Encapsulating the JAMon 2.x related API calls. JAMon 2.x allows for a much
more powerful integration with Avalon services :
- custom ranges/units
- exception monitoring
- smooth web interface
- Since:
- 1.0.7
- Author:
- Siegfried Goeschl
-
Constructor Summary
ConstructorsConstructorDescriptionJavaSimon4PerformanceMonitorImpl
(String serviceName, Method method, Boolean isActive) Constructor. -
Method Summary
-
Constructor Details
-
JavaSimon4PerformanceMonitorImpl
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()Start the monitor.- Specified by:
start
in interfaceJavaSimonPerformanceMonitor
-
stop
public void stop()Stop the monitor- Specified by:
stop
in interfaceJavaSimonPerformanceMonitor
-
stop
Stop the monitor- Specified by:
stop
in interfaceJavaSimonPerformanceMonitor
- Parameters:
throwable
- the throwable
-