title: Caffeine Cache in Spring Boot Cache : Get all cached keys
body: <p>I'm using Caffeine Cache library for Spring Cache. Is there a way to get all the cached keys?</p>
  
  <p>My current application works on a near-realtime data, with the flow as : </p>
  
  <p><a href="https://i.stack.imgur.com/pCcFR.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/pCcFR.jpg" alt="enter image description here"></a></p>
  
  <p>In the <code>Cache Updater Thread</code>(which runs at a fixed interval, irrespective of the user request), I need to get all the keys currently in the Cache, fetch their latest data from Db &amp; then use <code>@CachePut</code> to update the cache.</p>