Is there a way to fetch all the cache entries for a given CacheResource?

I know there is a similar question posted here but since it was asked in 2016 I was wondering if there has been any new development since.

I have a requirement wherein I need to fetch all the active sessions being maintained in the cache. Initially the cache entries are made against a sessionId (key), but when I need to fetch all the sessions maintained I would not be knowing the sessionId(s) hence it would really help if I could find any other way through which I can fetch all the records for a given CacheResource either via Management API or policy. @Dino-at-Google @Anil Sagar @ Google

Thank you.

0 0 87