maidsafe / lru_time_cache

LRU cache settable via size or time to live
BSD 3-Clause "New" or "Revised" License
104 stars 46 forks source link

feat/peek: add `clear`, `peek` and `peek_iter` methods #73

Closed afck closed 8 years ago

afck commented 8 years ago

These allow retrieving entries without modifying their timestamps, and clearing the collection.


This change is Reviewable

maidsafe-highfive commented 8 years ago

r? @Fraser999

(maidsafe_highfive has picked a reviewer for you, use r? to override)

afck commented 8 years ago

r? @Viv-Rajkumar

Viv-Rajkumar commented 8 years ago

Reviewed 1 of 1 files at r2. Review status: all files reviewed at latest revision, all discussions resolved.


_Comments from Reviewable_