Klasse Jamon2PerformanceMonitorImpl
java.lang.Object
org.apache.fulcrum.yaafi.interceptor.jamon.Jamon2PerformanceMonitorImpl
- Alle implementierten Schnittstellen:
JamonPerformanceMonitor
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
- Autor:
- Siegfried Goeschl
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungJamon2PerformanceMonitorImpl
(String serviceName, Method method, Boolean isActive) Constructor. -
Methodenübersicht
-
Konstruktordetails
-
Jamon2PerformanceMonitorImpl
Constructor.- Parameter:
serviceName
- the service name of the service being monitoredmethod
- the method to be monitoredisActive
- is this an active monitor
-
-
Methodendetails
-
start
public void start()Start the monitor.- Angegeben von:
start
in SchnittstelleJamonPerformanceMonitor
-
stop
public void stop()Stop the monitor- Angegeben von:
stop
in SchnittstelleJamonPerformanceMonitor
-
stop
Stop the monitor- Angegeben von:
stop
in SchnittstelleJamonPerformanceMonitor
- Parameter:
throwable
- the throwable
-
createReport
Create a performance report.- Angegeben von:
createReport
in SchnittstelleJamonPerformanceMonitor
- Gibt zurück:
- the textual performance report
- Löst aus:
Exception
- generating the report failed
-