Spring Framework

org.springframework.cache.annotation
Annotation Type Caching


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Caching

Group annotation for multiple cache annotations (of different or the same type).

Since:
3.1
Author:
Costin Leau, Chris Beams

Optional Element Summary
 Cacheable[] cacheable
           
 CacheEvict[] evict
           
 CachePut[] put
           
 

cacheable

public abstract Cacheable[] cacheable
Default:
{}

put

public abstract CachePut[] put
Default:
{}

evict

public abstract CacheEvict[] evict
Default:
{}

Spring Framework