Interface PerformanceTools


  • public interface PerformanceTools
    Interface provides methods / functionality that is rather helpful in case of performance measurements etc.
    Author:
    JEAF Development Team
    • Field Detail

      • PERFORMANCE_TOOLS

        static final PerformanceTools PERFORMANCE_TOOLS
        Configured implementation of performance tools.
    • Method Detail

      • getPerformanceTools

        static PerformanceTools getPerformanceTools()
        Method returns the configured implementation of the Performance Tools.
        Returns:
        PerformanceTools Configured implementation of performance tools. The method never returns null.
      • createStopwatch

        Stopwatch createStopwatch​(java.lang.String pName,
                                  TimePrecision pTimePrecision)
        Method creates a new stop watch. A stop watch can be used multiple times if required. However creating a new one is also very cheap.
        Parameters:
        pName - Name of the executed measurement. The parameter may be null.
        pPrecision - Precision with which the stop watch should report results.