@PerformanceTest public class ConfigPerformanceIntTest extends ServicelayerBaseTest
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ConfigPerformanceIntTest.PropertyAccessor |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Random |
rand |
protected java.lang.String[] |
randKeys |
protected int |
THREADS |
protected int |
WAIT_SECONDS |
jaloSession| Constructor and Description |
|---|
ConfigPerformanceIntTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare() |
protected void |
runAccessor(int threads,
java.lang.String callType,
TestThreadsHolder<ConfigPerformanceIntTest.PropertyAccessor> randomAccessHolder) |
void |
testManyThreadManyProperties() |
void |
testOneThreadManyProperties() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected final int WAIT_SECONDS
protected final int THREADS
protected final java.lang.String[] randKeys
protected final java.util.Random rand
public void prepare()
public void testOneThreadManyProperties()
public void testManyThreadManyProperties()
protected void runAccessor(int threads,
java.lang.String callType,
TestThreadsHolder<ConfigPerformanceIntTest.PropertyAccessor> randomAccessHolder)
Copyright © 2018 SAP SE. All Rights Reserved.