public interface ServiceMonitor
ServiceMonitor interface used to capture service monitoring data
from custom code.| Modifier and Type | Method and Description |
|---|---|
<V> V |
monitor(String timerName,
Callable<V> functionToExecute)
Monitors and tracks error of the custom code.
|
<V> V monitor(String timerName, Callable<V> functionToExecute) throws Exception
timerName - The unique name to track the time and error information of
given custom codefunctionToExecute - The custom code to execute and monitorException - The exception thrown by the custom codeCopyright © 2019. All rights reserved.