+ align @CacheEvict behaviour with @Cacheable and @CachePut
+ add flag for post method execution + add integration tests
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
<cache:caching>
|
||||
<cache:cache-evict method="invalidate" cache="default"/>
|
||||
<cache:cache-evict method="evict" key="#p0" cache="default"/>
|
||||
<cache:cache-evict method="evictWithException" cache="default"/>
|
||||
<cache:cache-evict method="evictEarly" cache="default" after-invocation="false"/>
|
||||
<cache:cache-evict method="invalidateEarly" key="#p0" cache="default" after-invocation="false"/>
|
||||
<cache:cache-evict method="evictAll" cache="default" all-entries="true"/>
|
||||
</cache:caching>
|
||||
<cache:caching cache="default">
|
||||
<cache:cache-put method="update"/>
|
||||
@@ -54,6 +58,10 @@
|
||||
<cache:caching>
|
||||
<cache:cache-evict method="invalidate" cache="default"/>
|
||||
<cache:cache-evict method="evict" key="#p0" cache="default"/>
|
||||
<cache:cache-evict method="evictWithException" cache="default"/>
|
||||
<cache:cache-evict method="evictEarly" cache="default" after-invocation="false"/>
|
||||
<cache:cache-evict method="invalidateEarly" key="#p0" cache="default" after-invocation="false"/>
|
||||
<cache:cache-evict method="evictAll" cache="default" all-entries="true"/>
|
||||
</cache:caching>
|
||||
<cache:caching cache="default">
|
||||
<cache:cache-put method="update"/>
|
||||
|
||||
Reference in New Issue
Block a user