| Package | Description | 
|---|---|
| org.springframework.cache.annotation | Annotations and supporting classes for declarative cache management. | 
| org.springframework.cache.interceptor | AOP-based solution for declarative caching demarcation. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Supplier<CacheErrorHandler> | AbstractCachingConfiguration. errorHandler | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheErrorHandler | CachingConfigurerSupport. errorHandler() | 
| CacheErrorHandler | CachingConfigurer. errorHandler()Return the  CacheErrorHandlerto use to handle cache-related errors. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SimpleCacheErrorHandlerA simple  CacheErrorHandlerthat does not handle the
 exception at all, simply throwing it back at the client. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected org.springframework.util.function.SingletonSupplier<CacheErrorHandler> | AbstractCacheInvoker. errorHandler | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheErrorHandler | AbstractCacheInvoker. getErrorHandler()Return the  CacheErrorHandlerto use. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractCacheInvoker. setErrorHandler(CacheErrorHandler errorHandler)Set the  CacheErrorHandlerinstance to use to handle errors
 thrown by the cache provider. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CacheAspectSupport. configure(Supplier<CacheErrorHandler> errorHandler,
         Supplier<KeyGenerator> keyGenerator,
         Supplier<CacheResolver> cacheResolver,
         Supplier<CacheManager> cacheManager)Configure this aspect with the given error handler, key generator and cache resolver/manager
 suppliers, applying the corresponding default if a supplier is not resolvable. | 
| Constructor and Description | 
|---|
| AbstractCacheInvoker(CacheErrorHandler errorHandler) |