Methods
get(key)
Get an item from the cache.
Parameters:
Name | Type | Description |
---|---|---|
key |
the key to retrieve |
set(key, value)
Add an item to the cache.
Parameters:
Name | Type | Description |
---|---|---|
key |
the key to upsert |
|
value |
the value of the key |