public class Jamon2PerformanceMonitorImpl extends Object implements JamonPerformanceMonitor
| Constructor and Description |
|---|
Jamon2PerformanceMonitorImpl(String serviceName,
Method method,
Boolean isActive)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createReport()
Create a performance report.
|
void |
start()
Start the monitor.
|
void |
stop()
Stop the monitor
|
void |
stop(Throwable throwable)
Stop the monitor
|
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 monitorpublic void start()
start in interface JamonPerformanceMonitorpublic void stop()
stop in interface JamonPerformanceMonitorpublic void stop(Throwable throwable)
stop in interface JamonPerformanceMonitorthrowable - the throwablepublic String createReport() throws Exception
createReport in interface JamonPerformanceMonitorException - generating the report failedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.