public class ProfilerReportPOJO extends java.lang.Object implements ProfilingReportBean
DynamicMBean.| Constructor and Description |
|---|
ProfilerReportPOJO() |
| Modifier and Type | Method and Description |
|---|---|
long |
getFailedExecutions()
Returns the amount of failed method executions.
|
long |
getMaxExecutionTime()
Returns max execution time of the profiled method.
|
long |
getMinExecutionTime()
Returns min execution time of the profiled method.
|
long |
getTotalCount()
Returns the total number of method calls of the profiled method
|
long |
getTotalTime()
Returns the total execution time of the profiled method
|
void |
logException()
This method will be called by the
Profiler implementation (.. |
void |
logExecutionTime(long executionTime,
long calledAt)
This method will be called by the
Profiler implementation. |
public void logExecutionTime(long executionTime,
long calledAt)
Profiler implementation.logExecutionTime in interface ProfilingReportTemplateexecutionTime - the exception timecalledAt - the point of time when the method was executedpublic void logException()
ProfilingReportTemplateProfiler implementation (.. for manual testing it
is very nice to to make this method accessible via JMX, too). This method will be used for incrementing an
internal "failed execution counter"logException in interface ProfilingReportTemplatepublic long getMaxExecutionTime()
getMaxExecutionTime in interface ProfilingReportBeanProfilingReportBean.getMaxExecutionTime()public long getFailedExecutions()
getFailedExecutions in interface ProfilingReportBeanProfilingReportBean.getFailedExecutions()public long getMinExecutionTime()
getMinExecutionTime in interface ProfilingReportBeanProfilingReportBean.getMinExecutionTime()public long getTotalCount()
getTotalCount in interface ProfilingReportBeanProfilingReportBean.getTotalCount()public long getTotalTime()
getTotalTime in interface ProfilingReportBeanProfilingReportBean.getTotalTime()Copyright © 2018 SAP SE. All Rights Reserved.