title: Is there an expiring map in Java that expires elements after a period of time since *first* insertion?
body: <p>I tried looking at cache mechanisms, such as Guava's <code>Cache</code>. Their expiration is only since last update.</p>
  
  <p>What I'm looking for is a data structure that stores keys and cleans the keys after a time has passed since the first insertion. I'm planning for the value to be some counter.</p>
  
  <p>A scenario might be a silent worker that does some work for the first time but keeps silent for an expiry period of time - even if work is requested. If work is requested after the expiry time has passed, he'll do the work.</p>
  
  <p><strong>Know of such a data structure?</strong> Thanks.</p>