Interface ProfilingReportTemplate

  • All Known Subinterfaces:
    ProfilingReportBean
    All Known Implementing Classes:
    ProfilerReportPOJO

    public interface ProfilingReportTemplate
    This interface will be implemented by Profiler for processing the profiling informations.
    • Method Detail

      • logExecutionTime

        void logExecutionTime​(long executionTime,
                              long calledAt)
        This method will be called by the Profiler implementation (.. for manual testing it is very nice to to make this method accessible via JMX, too)
        Parameters:
        executionTime - method execution start time
        calledAt - method execution end time
      • logException

        void logException()
        This method will be called by the Profiler 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"