spring-framework / org.springframework.cache.annotation / Caching

Caching

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) @Inherited class 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.

Author
Costin Leau

Author
Chris Beams

Since
3.1

Constructors

<init>

Caching(cacheable: Array<Cacheable>, put: Array<CachePut>, evict: Array<CacheEvict>)

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.

Properties

cacheable

val cacheable: Array<Cacheable>

evict

val evict: Array<CacheEvict>

put

val put: Array<CachePut>