Browse Source

Improve documentation of Cacheable

See gh-28183
pull/28959/head
luvarqpp 4 years ago committed by Stephane Nicoll
parent
commit
3a61930bd0
  1. 3
      spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java

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

@ -123,7 +123,8 @@ public @interface Cacheable { @@ -123,7 +123,8 @@ public @interface Cacheable {
/**
* Spring Expression Language (SpEL) expression used for making the method
* caching conditional.
* caching conditional. If condition is evaluated to {@code true}, result
* is cached.
* <p>Default is {@code ""}, meaning the method result is always cached.
* <p>The SpEL expression evaluates against a dedicated context that provides the
* following meta-data:

Loading…
Cancel
Save