Annotation Interface CacheableField


@Target(METHOD) @Retention(RUNTIME) public @interface CacheableField
自定义缓存注解类,添加了自定义的缓存字段(缓存特定字段)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    指定要缓存的字段
     
  • Element Details

    • key

      String key
      Default:
      ""
    • fields

      CacheableType[] fields
      指定要缓存的字段
      Returns:
      Default:
      {}