Package de.hybris.platform.util.config
Class ConfigPerformanceIntTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.util.config.ConfigPerformanceIntTest
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
ConfigPerformanceStringTest
@PerformanceTest public class ConfigPerformanceIntTest extends ServicelayerBaseTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ConfigPerformanceIntTest.PropertyAccessor
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Random
rand
protected java.lang.String[]
randKeys
protected int
THREADS
protected int
WAIT_SECONDS
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ConfigPerformanceIntTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepare()
protected void
runAccessor(int threads, java.lang.String callType, TestThreadsHolder<ConfigPerformanceIntTest.PropertyAccessor> randomAccessHolder)
void
testManyThreadManyProperties()
void
testOneThreadManyProperties()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
WAIT_SECONDS
protected final int WAIT_SECONDS
- See Also:
- Constant Field Values
-
THREADS
protected final int THREADS
- See Also:
- Constant Field Values
-
randKeys
protected final java.lang.String[] randKeys
-
rand
protected final java.util.Random rand
-
-
Method Detail
-
prepare
public void prepare()
-
testOneThreadManyProperties
public void testOneThreadManyProperties()
-
testManyThreadManyProperties
public void testManyThreadManyProperties()
-
runAccessor
protected void runAccessor(int threads, java.lang.String callType, TestThreadsHolder<ConfigPerformanceIntTest.PropertyAccessor> randomAccessHolder)
-
-