I have a Spring Boot service that use Redis as a cache store using @Cachable. The same service also contain the Eviction calls using CacheManager. I want to move the Evict feature to a difference service, which:- Reads all the Caches from the Redis- Evict All or By CacheName/CacheKey.
I setup the service but unable to query the cacheNames. CacheManager won't able to get all the caches from Redis Store. Please help me or share a complete solution. Thanks