February 2018
Intermediate to advanced
406 pages
9h 55m
English
While it is nice that Spring handles a lot of concerns such as caching implementation under the hood, it is important to understand what is happening and be aware of the limitations.
Internally, caching is implemented by internal classes such as cache manager and cache resolver. When no caching product or framework is supplied, Spring uses ConcurrentHashMap by default. Spring's caching implements many other local caches such as EHCache, Guava, and Caffeine.
Check out the Spring documentation (https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/cache/annotation/Cacheable.html) for more intricacies such as sync=true and conditional caching.
Read now
Unlock full access