File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed
spring-context/src/main/java/org/springframework/cache/annotation Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 35
35
* @author Sam Brannen
36
36
* @since 4.1
37
37
* @see Cacheable
38
+ * @see CachePut
39
+ * @see CacheEvict
38
40
*/
39
41
@ Target (ElementType .TYPE )
40
42
@ Retention (RetentionPolicy .RUNTIME )
43
45
44
46
/**
45
47
* Alias for {@link #cacheNames}.
46
- * @since 7.0
48
+ * <p>Intended to be used when no other attributes are needed, for example:
49
+ * {@code @CacheConfig("books")}.
50
+ * @since 6.2.9
47
51
*/
48
52
@ AliasFor ("cacheNames" )
49
53
String [] value () default {};
Original file line number Diff line number Diff line change 38
38
* @author Sam Brannen
39
39
* @since 3.1
40
40
* @see CacheConfig
41
+ * @see Cacheable
42
+ * @see CachePut
41
43
*/
42
44
@ Target ({ElementType .TYPE , ElementType .METHOD })
43
45
@ Retention (RetentionPolicy .RUNTIME )
48
50
49
51
/**
50
52
* Alias for {@link #cacheNames}.
53
+ * <p>Intended to be used when no other attributes are needed, for example:
54
+ * {@code @CacheEvict("books")}.
51
55
*/
52
56
@ AliasFor ("cacheNames" )
53
57
String [] value () default {};
Original file line number Diff line number Diff line change 46
46
* @author Sam Brannen
47
47
* @since 3.1
48
48
* @see CacheConfig
49
+ * @see Cacheable
50
+ * @see CacheEvict
49
51
*/
50
52
@ Target ({ElementType .TYPE , ElementType .METHOD })
51
53
@ Retention (RetentionPolicy .RUNTIME )
56
58
57
59
/**
58
60
* Alias for {@link #cacheNames}.
61
+ * <p>Intended to be used when no other attributes are needed, for example:
62
+ * {@code @CachePut("books")}.
59
63
*/
60
64
@ AliasFor ("cacheNames" )
61
65
String [] value () default {};
Original file line number Diff line number Diff line change 54
54
* @author Sam Brannen
55
55
* @since 3.1
56
56
* @see CacheConfig
57
+ * @see CachePut
58
+ * @see CacheEvict
57
59
*/
58
60
@ Target ({ElementType .TYPE , ElementType .METHOD })
59
61
@ Retention (RetentionPolicy .RUNTIME )
64
66
65
67
/**
66
68
* Alias for {@link #cacheNames}.
69
+ * <p>Intended to be used when no other attributes are needed, for example:
70
+ * {@code @Cacheable("books")}.
67
71
*/
68
72
@ AliasFor ("cacheNames" )
69
73
String [] value () default {};
You can’t perform that action at this time.
0 commit comments