@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @Around @Type(value=CacheInterceptor.class) public @interface CacheConfig
An annotation that can be used on either a type or an annotation stereotype to configure common caching behaviour.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
cacheNames
Specifies one or many cache names to store cache operation values in.
|
java.lang.Class<? extends CacheKeyGenerator> |
keyGenerator |
java.lang.String[] |
value |
@AliasFor(member="cacheNames") public abstract java.lang.String[] value
cacheNames()
public abstract java.lang.String[] cacheNames
public abstract java.lang.Class<? extends CacheKeyGenerator> keyGenerator