Add a new value to the cache and updates the recent-ness. Returns true if an eviction occurred.
(key, value interface{})
| 6 | // Add a new value to the cache and updates the recent-ness. |
| 7 | // Returns true if an eviction occurred. |
| 8 | Add(key, value interface{}) bool |
| 9 | |
| 10 | // Return a key's value if found in the cache and updates the recent-ness. |
| 11 | Get(key interface{}) (value interface{}, ok bool) |
no outgoing calls