Detailed Description
A simple cache getter that takes a cache key and returns an element if it is found in the cache.
- Examples
- caching.js.
Inheritance diagram for DataKeyedCache:
Public Member Functions | |
| get (cachekey) | |
| Get data out of the cache. | |
| put (cachekey, value) | |
| Add an element to the cache. | |
Member Function Documentation
◆ get()
|
inline |
Get data out of the cache.
- Parameters
-
{*} cachekey key to lookup in the cache
◆ put()
|
inline |
Add an element to the cache.
- Parameters
-
{*} cachekey key for the cache entry {any} value value for the cache entry
