public abstract class ContextCacheUtils extends ObjectSE
ContextCaches
を操作するためのユーティリティのコレクション。コンストラクターと説明 |
---|
ContextCacheUtils() |
修飾子と型 | メソッドと説明 |
---|---|
static int | retrieveMaxCacheSize() ContextCache の最大サイズを取得します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static int retrieveMaxCacheSize()
ContextCache
の最大サイズを取得します。SpringProperties
を使用して、spring.test.context.cache.maxSize
という名前のシステムプロパティまたは Spring プロパティを取得します。
そのようなプロパティが設定されていない場合、またはプロパティが整数でない場合は、ContextCache.DEFAULT_MAX_CONTEXT_CACHE_SIZE
の値にフォールバックします。
ContextCache.MAX_CONTEXT_CACHE_SIZE_PROPERTY_NAME