Improve documentation of Cacheable

See gh-28183
This commit is contained in:
luvarqpp 2022-03-15 16:17:33 +01:00 committed by Stephane Nicoll
parent 456c7889a3
commit 3a61930bd0
1 changed files with 2 additions and 1 deletions

View File

@ -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: