Top "Spring-cache" questions

Spring cache provides a Cache and CacheManager abstraction with several implementations including support for ehcache and JSR-107 providers.

Spring cacheable not synchronized

I have a singleton class (@Service annotated). This class has a method which takes 200/300ms to execute. This method is …

java spring spring-cache
How can I set correct Last-Modified header value for Spring Web Service that is cached using Spring Cache?

I have such Spring MVC Controller: @Controller @RequestMapping(value = "/user") public class UserController { ..... @Cacheable(value = "users", key = "#id") @RequestMapping(value = "/…

java spring spring-mvc caching spring-cache
Custom CacheResolver not working

I have a Spring Boot project with a custom CacheResolver as I need to decide on runtime which cache I …

java spring spring-cache
EhCache : Why my diskStore path directory is not created?

I am working with ehcache. I am caching Spring @Service method : @Service( value = "dataServicesManager" ) @Transactional public class DataServicesManager implements IDataServicesManager{ @…

java spring caching ehcache spring-cache
Cannot find the cache named xxx for the builder in spring boot application

I have a Spring boot application where I want to use spring bot cache on a repository method.I have …

spring-boot spring-cache
Multiple Caffeine LoadingCaches added to Spring CaffeineCacheManager

I'm looking to add several distinct LoadingCache's to a Spring CacheManager, however I don't see how this is possible using …

spring spring-cache caffeine
Spring caching / spring repository, evict multiple keys

I have two methods to fetch an entity with two different parameters. I also have a save method that uses …

spring spring-data spring-cache
ACL security in Spring Boot

I am having issues setting up ACL through Java config in a Spring Boot application. I have created one small …

java spring-security spring-boot acl spring-cache