Class AbstractPerformanceTest
java.lang.Object
de.hybris.platform.hac.performance.impl.AbstractPerformanceTest
- All Implemented Interfaces:
PerformanceTest
- Direct Known Subclasses:
AbstractJaloItemTest,ConfigGetDatabase,ConfigGetOracle,ConfigGetParameter,ConfigGetString,JaloFlexibleSearchWithCache,JaloFlexiblSearchWithoutCache,ModelGetPk,RegistryGetDataSource,SlFlexibleSearch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcleanup()Cleanup after test if needed.computeScores(int seconds) Compute scores and returns as map.abstract voidExecutes block of code to be tested.abstract StringGets the test name.abstract voidprepare()Prepare test if needed.
-
Constructor Details
-
AbstractPerformanceTest
public AbstractPerformanceTest()
-
-
Method Details
-
executeBlock
Description copied from interface:PerformanceTestExecutes block of code to be tested.- Specified by:
executeBlockin interfacePerformanceTest- Throws:
Exception
-
getTestName
Description copied from interface:PerformanceTestGets the test name.- Specified by:
getTestNamein interfacePerformanceTest- Returns:
- the test name
-
cleanup
public abstract void cleanup()Description copied from interface:PerformanceTestCleanup after test if needed.- Specified by:
cleanupin interfacePerformanceTest
-
prepare
Description copied from interface:PerformanceTestPrepare test if needed.- Specified by:
preparein interfacePerformanceTest- Throws:
Exception- the exception
-
computeScores
Description copied from interface:PerformanceTestCompute scores and returns as map.- Specified by:
computeScoresin interfacePerformanceTest- Parameters:
seconds- the seconds- Returns:
- the map with test scores
-