public class SimpleExceptionCacheResolver extends AbstractCacheResolver
CacheManager
およびキャッシュの名前に基づいて例外キャッシュを解決する単純な CacheResolver
: CacheResultOperation.getExceptionCacheName()
。CacheResultOperation.getExceptionCacheName()
コンストラクターと説明 |
---|
SimpleExceptionCacheResolver(CacheManager cacheManager) |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<StringSE> | getCacheNames(CacheOperationInvocationContext<?> context) 現在のキャッシュマネージャーに対して解決するキャッシュの名前を指定します。 |
afterPropertiesSet, getCacheManager, resolveCaches, setCacheManager
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public SimpleExceptionCacheResolver(CacheManager cacheManager)
protected CollectionSE<StringSE> getCacheNames(CacheOperationInvocationContext<?> context)
AbstractCacheResolver
この呼び出しでキャッシュを解決できないことを示すために、null
を返すことは許容されます。
AbstractCacheResolver
の getCacheNames
context
- 特定の呼び出しのコンテキスト null