Skip to content

Commit 14767d6

Browse files
committed
Merge branch '6.2.x'
2 parents a80305e + ad00aeb commit 14767d6

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

spring-context/src/main/java/org/springframework/cache/annotation/CacheConfig.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
* @author Sam Brannen
3636
* @since 4.1
3737
* @see Cacheable
38+
* @see CachePut
39+
* @see CacheEvict
3840
*/
3941
@Target(ElementType.TYPE)
4042
@Retention(RetentionPolicy.RUNTIME)
@@ -43,7 +45,9 @@
4345

4446
/**
4547
* 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
4751
*/
4852
@AliasFor("cacheNames")
4953
String[] value() default {};

spring-context/src/main/java/org/springframework/cache/annotation/CacheEvict.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
* @author Sam Brannen
3939
* @since 3.1
4040
* @see CacheConfig
41+
* @see Cacheable
42+
* @see CachePut
4143
*/
4244
@Target({ElementType.TYPE, ElementType.METHOD})
4345
@Retention(RetentionPolicy.RUNTIME)
@@ -48,6 +50,8 @@
4850

4951
/**
5052
* Alias for {@link #cacheNames}.
53+
* <p>Intended to be used when no other attributes are needed, for example:
54+
* {@code @CacheEvict("books")}.
5155
*/
5256
@AliasFor("cacheNames")
5357
String[] value() default {};

spring-context/src/main/java/org/springframework/cache/annotation/CachePut.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
* @author Sam Brannen
4747
* @since 3.1
4848
* @see CacheConfig
49+
* @see Cacheable
50+
* @see CacheEvict
4951
*/
5052
@Target({ElementType.TYPE, ElementType.METHOD})
5153
@Retention(RetentionPolicy.RUNTIME)
@@ -56,6 +58,8 @@
5658

5759
/**
5860
* Alias for {@link #cacheNames}.
61+
* <p>Intended to be used when no other attributes are needed, for example:
62+
* {@code @CachePut("books")}.
5963
*/
6064
@AliasFor("cacheNames")
6165
String[] value() default {};

spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
* @author Sam Brannen
5555
* @since 3.1
5656
* @see CacheConfig
57+
* @see CachePut
58+
* @see CacheEvict
5759
*/
5860
@Target({ElementType.TYPE, ElementType.METHOD})
5961
@Retention(RetentionPolicy.RUNTIME)
@@ -64,6 +66,8 @@
6466

6567
/**
6668
* Alias for {@link #cacheNames}.
69+
* <p>Intended to be used when no other attributes are needed, for example:
70+
* {@code @Cacheable("books")}.
6771
*/
6872
@AliasFor("cacheNames")
6973
String[] value() default {};

0 commit comments

Comments
 (0)