@PerformanceTest public class LazyLoadItemListUnitTest extends java.lang.Object
LazyLoadItemList.| Constructor and Description |
|---|
LazyLoadItemListUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testConcurrentAccess()
The idea is to access a
LazyLoadItemList with multiple threads each one hitting a different page. |
void |
testSynchronousAccess() |
public void testConcurrentAccess()
LazyLoadItemList with multiple threads each one hitting a different page. This is
considered the worst case scenario simply because each time a different page is requested the internal page buffer
needs to be re-calculated. Please also note that we replaces the actual Item loading logic by one that is just
wrapping underlying PKs into Longs.public void testSynchronousAccess()
Copyright © 2018 SAP SE. All Rights Reserved.