public abstract class ContextCacheUtils
extends java.lang.Object
ContextCaches
.Constructor and Description |
---|
ContextCacheUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
retrieveMaxCacheSize()
Retrieve the maximum size of the
ContextCache . |
public static int retrieveMaxCacheSize()
ContextCache
.
Uses SpringProperties
to retrieve a system property or Spring
property named spring.test.context.cache.maxSize
.
Falls back to the value of the ContextCache.DEFAULT_MAX_CONTEXT_CACHE_SIZE
if no such property has been set or if the property is not an integer.
ContextCache.MAX_CONTEXT_CACHE_SIZE_PROPERTY_NAME