|
||||||||||
| 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(String serviceName,
Method method,
Boolean isActive)
Constructor. |
|
| Method Summary | |
|---|---|
String |
createReport()
Create a performance report. |
void |
start()
Start the monitor. |
void |
stop()
Stop the monitor |
void |
stop(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(String serviceName,
Method method,
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(Throwable throwable)
stop in interface JamonPerformanceMonitorthrowable - the throwable
public String createReport()
throws Exception
createReport in interface JamonPerformanceMonitorException - generating the report failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||