October 2017
Intermediate to advanced
396 pages
10h 2m
English
As mentioned earlier, the @Cacheable and @CachePut annotations both have the same goal, that is, to populate a cache. But their working is slightly different from each other. @CachePut marks a method for caching, and its result is stored in a cache. For each invocation of that method with the same arguments, it always invokes the actual method without checking whether the return value of that method is available in the cache or not. The following are @CachePut attributes:
Read now
Unlock full access