簡體   English   中英

使用hset的Spring @Cacheable

[英]Spring @Cacheable using hset

我正在使用spring及其緩存抽象。 使用@Cacheable批注非常方便。 但據我所知,這種抽象在redis上使用get / set / del操作。 有什么方法可以使用hset / hget / hdel嗎?

我使用redisson RMAP和spring CacheResolver做到了這一點。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM