public class JavaSimon4PerformanceMonitorImpl extends Object implements JavaSimonPerformanceMonitor
Constructor and Description |
---|
JavaSimon4PerformanceMonitorImpl(String serviceName,
Method method,
Boolean isActive)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
start()
Start the monitor.
|
void |
stop()
Stop the monitor
|
void |
stop(Throwable throwable)
Stop the monitor
|
public JavaSimon4PerformanceMonitorImpl(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 JavaSimonPerformanceMonitor
public void stop()
stop
in interface JavaSimonPerformanceMonitor
public void stop(Throwable throwable)
stop
in interface JavaSimonPerformanceMonitor
throwable
- the throwableCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.