| 程序包 | 说明 |
|---|---|
| org.springframework.cache.annotation |
Annotations and supporting classes for declarative cache management.
|
| org.springframework.cache.interceptor |
AOP-based solution for declarative caching demarcation.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected CacheErrorHandler |
AbstractCachingConfiguration.errorHandler |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheErrorHandler |
CachingConfigurer.errorHandler()
Return the
CacheErrorHandler to use to handle cache-related errors. |
CacheErrorHandler |
CachingConfigurerSupport.errorHandler() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleCacheErrorHandler
A simple
CacheErrorHandler that does not handle the
exception at all, simply throwing it back at the client. |
| 限定符和类型 | 方法和说明 |
|---|---|
CacheErrorHandler |
AbstractCacheInvoker.getErrorHandler()
Return the
CacheErrorHandler to use. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractCacheInvoker.setErrorHandler(CacheErrorHandler errorHandler)
Set the
CacheErrorHandler instance to use to handle errors
thrown by the cache provider. |
| 构造器和说明 |
|---|
AbstractCacheInvoker(CacheErrorHandler errorHandler) |