@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @Inherited 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 |
---|---|
String[] |
cacheNames
Specifies one or many cache names to store cache operation values in.
|
Class<? extends CacheKeyGenerator> |
keyGenerator |
String[] |
value |
@AliasFor(member="cacheNames") public abstract String[] value
cacheNames()
public abstract String[] cacheNames
public abstract Class<? extends CacheKeyGenerator> keyGenerator