繁体   English   中英

如何使用 Spring 的 @Cacheable 和 Aerospike 作为缓存?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM