![](/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.