我正在開發一個項目,我們使用Spring Data Cache抽象以及AWS Elasticache Redis,我想知道如何配置驅逐緩存中對象的時間。如何在Amazon AWS上配置驅逐(生存時間)Elasticache Redis + Spring數據
關於如何使用Elasticache Redis配置Spring Data Cache抽象的官方文檔沒有太多。我們在這裏找到了一些很好的信息:http://blog.joshuawhite.com/java/caching-with-spring-data-redis/
但是,配置驅逐時間或緩存對象的生存時間沒有任何關係。任何幫助?