类的使用
org.springframework.cache.interceptor.AbstractCacheResolver
使用AbstractCacheResolver的程序包 程序包 说明 org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.org.springframework.cache.interceptor中AbstractCacheResolver的使用
org.springframework.cache.interceptor中AbstractCacheResolver的子类 修饰符和类型 类 说明 class
NamedCacheResolver
ACacheResolver
that forces the resolution to a configurable collection of name(s) against a givenCacheManager
.class
SimpleCacheResolver
A simpleCacheResolver
that resolves theCache
instance(s) based on a configurableCacheManager
and the name of the cache(s) as provided bygetCacheNames()
.org.springframework.cache.jcache.interceptor中AbstractCacheResolver的使用
org.springframework.cache.jcache.interceptor中AbstractCacheResolver的子类 修饰符和类型 类 说明 class
SimpleExceptionCacheResolver
A simpleCacheResolver
that resolves the exception cache based on a configurableCacheManager
and the name of the cache:CacheResultOperation.getExceptionCacheName()
.