Annotation Interface RefreshCache


@Beta @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RefreshCache
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Flag to identity if RefreshCache is disabled.
    Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND.
  • Element Details

    • disabled

      boolean disabled
      Flag to identity if RefreshCache is disabled.
      Returns:
      Default:
      false
    • filter

      String[] filter
      Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND. It's only applied if target of annotation RefreshCache is Type, and will be ignored if target is method.
      Returns:
      Default:
      {"update", "delete", "deleteById", "insert", "save", "batchUpdate", "batchDelete", "batchDeleteByIds", "batchInsert", "batchSave", "batchUpsert", "upsert", "execute"}