Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

How does @cacheable store data in redis

$
0
0

I want to understand how cacheable stores data in redis. Let's say I have a method with the cacheable sintax and redis is the caching database:

@Override    @Cacheable(cacheNames = y, key = "'z'")    public String getData() {        return "cached entry";    }

Will redis create a hashmap underneath with y as the referencing key and z as the referencing key of "cached entry" inside the hashmap?


Viewing all articles
Browse latest Browse all 2204

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>