CacheErrorHandler that does not handle the
exception at all, simply throwing it back at the client.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleCacheClearError(RuntimeException
the exception thrown by the cache provider exception, Cache the cache to clear cache)Implements org. Cache, possibly rethrowing it as a
fatal exception.
|
| 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)Implements org. key, possibly rethrowing
it as a fatal exception.
|
| 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)Implements org. key, possibly
rethrowing it as a fatal exception.
|
| 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)Implements org. key and value,
possibly rethrowing it as a fatal exception.
|
| SimpleCacheErrorHandler | back to summary |
|---|---|
| public SimpleCacheErrorHandler() | |
| handleCacheClearError | back to summary |
|---|---|
| public void handleCacheClearError(RuntimeException exception, Cache cache) Implements org. Doc from org. 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) Implements org. Doc from org. 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) Implements org. Doc from org. 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) Implements org. Doc from org. Handle the given runtime exception thrown by the cache provider when
updating an item with the specified
| |