Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add getKeys function to org.springframework.cache.Cache [SPR-8878] #13519
Costin Leau commented
It's unlikely we'll ever introduce such a method because, while on a local cache everything is in memory and this call would not create issues, in a distributed environment it would be unreliable.
Use the native cache API - that gives you the feature you want right now, with minimal effort.