f66ee0bbc6
* ensures that when an item is added, if the number of unexpired items >= maximum number of items specified, the oldest (based on ACCESS) is expired * when an item is "gotten", or "set", the access time is updated The existing janitor system is unchanged, and used to actually delete the items. The only change from a consumer standpoint, is one addition parameter at the end of a "New" call, that specifies the maximum number of items to allow, or 0, if you want to disable the LRU at all.
10 lines
397 B
Plaintext
10 lines
397 B
Plaintext
This is a list of people who have contributed code to go-cache. They, or their
|
|
employers, are the copyright holders of the contributed code. Contributed code
|
|
is subject to the license restrictions listed in LICENSE (as they were when the
|
|
code was contributed.)
|
|
|
|
Dustin Sallings <dustin@spy.net>
|
|
Jason Mooberry <jasonmoo@me.com>
|
|
Sergey Shepelev <temotor@gmail.com>
|
|
Matthew Keller <m@cognusion.com>
|