Annotation Type CacheGroup
-
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface CacheGroup
Annotation for defining cache group in case different cache types are targeted.- Since:
- 4.0
- See Also:
CacheGroups,CacheGroupsHandler
-
-
Element Detail
-
value
String value
- Returns:
- cache group name
-
-
-
keyType
Class<?> keyType
Defines key type of the cache. Could be used for managing external caches that is strictly typed (e.g. JCache).- Default:
- java.lang.Void.class
-
-
-
valueType
Class<?> valueType
Defines value type of the cache. Could be used for managing external caches that is strictly typed (e.g. JCache).- Default:
- java.lang.Void.class
-
-