Interface PerformanceTools
-
public interface PerformanceToolsInterface provides methods / functionality that is rather helpful in case of performance measurements etc.- Author:
- JEAF Development Team
-
-
Field Summary
Fields Modifier and Type Field Description static PerformanceToolsPERFORMANCE_TOOLSConfigured implementation of performance tools.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description StopwatchcreateStopwatch(java.lang.String pName, TimePrecision pTimePrecision)Method creates a new stop watch.static PerformanceToolsgetPerformanceTools()Method returns the configured implementation of the Performance Tools.
-
-
-
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:
PerformanceToolsConfigured 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.
-
-