![](/img/trans.png)
[英]How do I tell Spring Cache to cache the exceptions in @Cacheable annotation?
[英]How do I use Spring's @Cacheable with Aerospike as the cache?
我只想使用Aerospike
作为Spring
CacheManager
的后备缓存。 当我不打算将Aerospike
用作数据存储而仅用作缓存时,我应该使用 spring data Aerospike
吗?
是否有任何类似于HazelcastCacheManager
可用实现,或者我需要编写自己的实现吗? 任何帮助表示赞赏。
为 Aerospike 缓存管理器找到了这个实现。
https://github.com/shaileshmishra008/spring-cache-aerospike
我能够使用这个项目作为参考编写一个版本。
从 2.5.0/3.0.0 版本开始,Spring Data Aerospike 中的缓存区域发生了一些重大变化。
一篇关于使用 Spring Boot 和 Aerospike 缓存的中篇文章: https ://medium.com/aerospike-developer-blog/caching-with-spring-boot-and-aerospike-17b91267d6c
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.