Class LazyLoadItemListUnitTest

    • Constructor Detail

      • LazyLoadItemListUnitTest

        public LazyLoadItemListUnitTest()
    • Method Detail

      • testConcurrentAccess

        public void testConcurrentAccess()
        The idea is to access a 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.
      • testSynchronousAccess

        public void testSynchronousAccess()