簡體   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