File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -8560,10 +8560,8 @@ and thus requires a result.
8560
8560
8561
8561
There are cases when multiple annotations of the same type, such as `@CacheEvict` or
8562
8562
`@CachePut` need to be specified, for example because the condition or the key
8563
- expression is different between different caches. Unfortunately Java does not support
8564
- such declarations however there is a workaround - using an __enclosing__ annotation, in
8565
- this case, `@Caching`. `@Caching` allows multiple nested `@Cacheable`, `@CachePut` and
8566
- `@CacheEvict` to be used on the same method:
8563
+ expression is different between different caches. `@Caching` allows multiple nested
8564
+ `@Cacheable`, `@CachePut` and `@CacheEvict` to be used on the same method:
8567
8565
8568
8566
[source,java,indent=0]
8569
8567
[subs="verbatim,quotes"]
You can’t perform that action at this time.
0 commit comments