A persistent cache that stores data with an optional expiration time.
Deletes an item from the cache.
The key previously used to store the value.
Attempts to retrieve a value from the cache.
Stores a new value within the cache.
key to use to store the value
the value to store
Optional
optional TTL settings, relative to now
A persistent cache that stores data with an optional expiration time.