kgislsompo / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

MapMaker.expiration() applied from moment of last access #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently MapMaker.expiration() is applied from the moment a key/value pair is 
added to the Map. 
It would be more useful IMHO if it also applied from the moment of the last 
get() operation. No 
need to extend it to access due to keySet(), entrySet() or values() requests.

Original issue reported on code.google.com by Sam.Hall...@gmail.com on 8 Apr 2009 at 9:37

GoogleCodeExporter commented 9 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 5:57

GoogleCodeExporter commented 9 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 30 Jul 2010 at 3:53

GoogleCodeExporter commented 9 years ago
Is there a workaround which will make this work from last get() operation?

Original comment by richard....@gmail.com on 29 Dec 2010 at 2:09

GoogleCodeExporter commented 9 years ago
See the new methods "expireAfterWrite" and "expireAfterAccess".

Original comment by yrfselrahc@gmail.com on 13 Jan 2011 at 7:54

GoogleCodeExporter commented 9 years ago
Fantastic!  Can we assume this will be in Milestone:Release08?

Original comment by pline...@gmail.com on 13 Jan 2011 at 9:21

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:10