I have a Spring Boot app with caching enabled using the @EnableCaching
in the main
class and @Cacheable
for certain methods. This was earlier working well.
Now I have also configured GemFire
cache to store other data.
The older code with the @Cacheable
annotation is now trying to fetch this data in the GemFire
cache. Is there a way to define when to use which cache?
I'm new to this and would appreciate any inputs on the best practice to be followed in such case and what can be done to overcome this.