|
||||||||||
| 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 monitor| Method Detail |
|---|
public void start()
start in interface JamonPerformanceMonitorpublic void stop()
stop in interface JamonPerformanceMonitorpublic void stop(java.lang.Throwable throwable)
stop in interface JamonPerformanceMonitorthrowable - the throwable
public java.lang.String createReport()
throws java.lang.Exception
createReport in interface JamonPerformanceMonitorjava.lang.Exception - generating the report failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||