Annotation Type Cacheable

  • @Target({METHOD,TYPE})
    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.

    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  
    • Element Detail

      • value

        java.lang.String value