Class ContextCacheUtils
java.lang.Object
org.springframework.test.context.cache.ContextCacheUtils
Collection of utilities for working with 
ContextCaches.- Since:
- 4.3
- Author:
- Sam Brannen
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ContextCacheUtilspublic ContextCacheUtils()
 
- 
- 
Method Details- 
retrieveMaxCacheSizepublic static int retrieveMaxCacheSize()Retrieve the maximum size of theContextCache.Uses SpringPropertiesto retrieve a system property or Spring property namedspring.test.context.cache.maxSize.Falls back to the value of the ContextCache.DEFAULT_MAX_CONTEXT_CACHE_SIZEif no such property has been set or if the property is not an integer.- Returns:
- the maximum size of the context cache
- See Also:
 
 
-