Annotation Type Cacheable
-
@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited @Documented public @interface Cacheable
Annotation indicating that a method (or all the methods on a class) can be cached.The method arguments and signature are used for computing the key while the returned instance is used as the cache value.
- Since:
- 2.1.1, 2.2.2 this is no longer is an aspect, but just serves as a marker for cached items
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
-