为了账号安全,请及时绑定邮箱和手机立即绑定

我如何将 Spring 的 @Cacheable 与 Aerospike 作为缓存一起使用?

我如何将 Spring 的 @Cacheable 与 Aerospike 作为缓存一起使用?

元芳怎么了 2023-06-14 16:32:31
我只想Aerospike用作Spring CacheManager. 当我不打算用作Aerospike数据存储而仅用作缓存时,我应该使用 spring data aerospike 吗?是否有类似的可用实现HazelcastCacheManager或者我需要自己编写?任何帮助表示赞赏。
查看完整描述

2 回答

?
青春有我

TA贡献1784条经验 获得超8个赞

为 Aerospike 缓存管理器找到了这个实现。

https://github.com/shaileshmishra008/spring-cache-aerospike

我能够使用这个项目作为参考来编写一个版本。


查看完整回答
反对 回复 2023-06-14
?
千巷猫影

TA贡献1829条经验 获得超7个赞

从 2.5.0/3.0.0 版本开始,Spring Data Aerospike 的缓存区域发生了一些重大变化。

查看完整回答
反对 回复 2023-06-14
  • 2 回答
  • 0 关注
  • 77 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信