code-4-fun / ehcache-spring-annotations

Automatically exported from code.google.com/p/ehcache-spring-annotations
0 stars 0 forks source link

Config param for ignoring exceptions during cache operations with following calling of original method #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I use Distributed EhCache + Terratota. The most comfortable way to work with 
cache is annotations. But I need to setup environment in such way that 
cache-server unavailablity must take no effect except perfomance. 
So I need some configuration parameter for example "ignore-cache-failures" to 
"annotation-driven" element that will be analyzed in EhCacheInterceptor. If 
parameter is true and cache server is unavailable (or any other exceptions are 
thrown during caching queries) then log warning is created and original method 
is invoked and it works like no caching were applied to it.
I already have understanding how to do this, but I don't want to create my own 
version. If you find my request right and consistent is it possible to make 
necessary changes to sources and release version 1.2.1?

Original issue reported on code.google.com by donz...@gmail.com on 21 May 2012 at 2:35