Typically, failing to retrieve an object from the cache with a given id can be transparently managed as a cache miss by not throwing back such exception.
| Modifier and Type | Method and Description |
|---|---|
| public void | handleCacheClearError(RuntimeException
the exception thrown by the cache provider exception, Cache the cache to clear cache)Handle the given runtime exception thrown by the cache provider when
clearing the specified |
| public void | handleCacheEvictError(RuntimeException
the exception thrown by the cache provider exception, Cache the cache cache, Object the key used to clear the item key)Handle the given runtime exception thrown by the cache provider when
clearing an item with the specified |
| public void | handleCacheGetError(RuntimeException
the exception thrown by the cache provider exception, Cache the cache cache, Object the key used to get the item key)Handle the given runtime exception thrown by the cache provider when
retrieving an item with the specified |
| public void | handleCachePutError(RuntimeException
the exception thrown by the cache provider exception, Cache the cache cache, Object the key used to update the item key, Object the value to associate with the key value)Handle the given runtime exception thrown by the cache provider when
updating an item with the specified |
| handleCacheClearError | back to summary |
|---|---|
| public void handleCacheClearError(RuntimeException exception, Cache cache) Handle the given runtime exception thrown by the cache provider when
clearing the specified
| |
| handleCacheEvictError | back to summary |
|---|---|
| public void handleCacheEvictError(RuntimeException exception, Cache cache, Object key) Handle the given runtime exception thrown by the cache provider when
clearing an item with the specified
| |
| handleCacheGetError | back to summary |
|---|---|
| public void handleCacheGetError(RuntimeException exception, Cache cache, Object key) Handle the given runtime exception thrown by the cache provider when
retrieving an item with the specified
| |
| handleCachePutError | back to summary |
|---|---|
| public void handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) Handle the given runtime exception thrown by the cache provider when
updating an item with the specified
| |