|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.yaafi.interceptor.jamon.Jamon2PerformanceMonitorImpl
public class Jamon2PerformanceMonitorImpl
Ecapsulating the JAMon 2.x related API calls. JAMon 2.x allows for a much more powerful integration with Avalon services :
Constructor Summary | |
---|---|
Jamon2PerformanceMonitorImpl(java.lang.String serviceName,
java.lang.reflect.Method method,
java.lang.Boolean isActive)
Constructor. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jamon2PerformanceMonitorImpl(java.lang.String serviceName, java.lang.reflect.Method method, java.lang.Boolean isActive)
serviceName
- the service name of the service being monitoredmethod
- the method to be monitoredisActive
- is this an active monitorMethod Detail |
---|
public void start()
start
in interface JamonPerformanceMonitor
public void stop()
stop
in interface JamonPerformanceMonitor
public void stop(java.lang.Throwable throwable)
stop
in interface JamonPerformanceMonitor
throwable
- the throwablepublic java.lang.String createReport() throws java.lang.Exception
createReport
in interface JamonPerformanceMonitor
java.lang.Exception
- generating the report failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |