Package de.hybris.platform.jmx.mbeans
Interface ProfilingReportTemplate
-
- All Known Subinterfaces:
ProfilingReportBean
- All Known Implementing Classes:
ProfilerReportPOJO
public interface ProfilingReportTemplateThis interface will be implemented byProfilerfor processing the profiling informations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlogException()This method will be called by theProfilerimplementation (..voidlogExecutionTime(long executionTime, long calledAt)This method will be called by theProfilerimplementation (..
-
-
-
Method Detail
-
logExecutionTime
void logExecutionTime(long executionTime, long calledAt)This method will be called by theProfilerimplementation (.. for manual testing it is very nice to to make this method accessible via JMX, too)- Parameters:
executionTime- method execution start timecalledAt- method execution end time
-
logException
void logException()
This method will be called by theProfilerimplementation (.. 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"
-
-