Annotation Type CacheGroups


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface CacheGroups

A built-in annotation that provides declarative cache management for persistent objects.

Since:
3.1
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines one or more typed cache groups associated with the tagged entity.
    Defines one or more cache group names associated with the tagged entity.
  • Element Details

    • value

      String[] value
      Defines one or more cache group names associated with the tagged entity.
      Default:
      {}
    • groups

      CacheGroup[] groups
      Defines one or more typed cache groups associated with the tagged entity.
      Since:
      4.0
      Default:
      {}