Class MultiThreadedStaleDataTest
- java.lang.Object
-
- de.hybris.platform.regioncache.test.MultiThreadedStaleDataTest
-
@IntegrationTest @ContextConfiguration(locations="/test/EHCacheRegionPerformanceTest-context.xml", inheritLocations=false) @DirtiesContext(classMode=AFTER_CLASS) public class MultiThreadedStaleDataTest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiThreadedStaleDataTest.CacheValuestatic interfaceMultiThreadedStaleDataTest.CacheValueFactory
-
Field Summary
Fields Modifier and Type Field Description protected DefaultCacheControllercontrollerprotected static org.apache.log4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description MultiThreadedStaleDataTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangesToCacheVisibleToOtherThread(MultiThreadedStaleDataTest.CacheValueFactory factory)voidchangesVisibleNonVolatile()voidchangesVisibleVolatile()voidclean()static voidcleanEHCache()
-
-
-
Field Detail
-
controller
protected DefaultCacheController controller
-
LOGGER
protected static final org.apache.log4j.Logger LOGGER
-
-
Method Detail
-
clean
public void clean()
-
cleanEHCache
public static void cleanEHCache()
-
changesVisibleVolatile
public void changesVisibleVolatile() throws java.lang.InterruptedException, CacheRegionNotSpecifiedException- Throws:
java.lang.InterruptedExceptionCacheRegionNotSpecifiedException
-
changesVisibleNonVolatile
public void changesVisibleNonVolatile() throws java.lang.InterruptedException, CacheRegionNotSpecifiedException- Throws:
java.lang.InterruptedExceptionCacheRegionNotSpecifiedException
-
changesToCacheVisibleToOtherThread
public void changesToCacheVisibleToOtherThread(MultiThreadedStaleDataTest.CacheValueFactory factory) throws java.lang.InterruptedException, CacheRegionNotSpecifiedException
- Throws:
java.lang.InterruptedExceptionCacheRegionNotSpecifiedException
-
-