|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.yaafi.interceptor.jamon.Jamon1PerformanceMonitorImpl
public class Jamon1PerformanceMonitorImpl
Ecapsulating the JAMon 1.x related API calls
Constructor Summary | |
---|---|
Jamon1PerformanceMonitorImpl(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()
Start the monitor. |
void |
stop(java.lang.Throwable throwable)
Stop the monitor based on an Throwable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jamon1PerformanceMonitorImpl(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 |