Annotation Interface Caching
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Inherited
@Documented
@Reflective
public @interface Caching
Group annotation for multiple cache annotations (of different or the same type).
This annotation may be used as a meta-annotation to create custom composed annotations with attribute overrides.
- Since:
- 3.1
- Author:
- Costin Leau, Chris Beams
-
Optional Element Summary
-
Element Details
-
cacheable
Cacheable[] cacheable- Default:
- {}
-
put
CachePut[] put- Default:
- {}
-
evict
CacheEvict[] evict- Default:
- {}
-