Annotation Type Cacheable


  • @Target({TYPE,FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface Cacheable
    Annotation to specify that this class/field/property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and "property" elements.
    Since:
    2.2
    Version:
    2.2
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value
        Default:
        "true"