Get the value corresponding to the given key from the cache
Get the value corresponding to the given key from the cache
the type of the corresponding value
cache key
the value, if there is one
Insert the given key-value pair into the cache, with an optional Time To Live.
Insert the given key-value pair into the cache, with an optional Time To Live.
the type of the corresponding value
cache key
corresponding value
Time To Live
Remove the given key and its associated value from the cache, if it exists.
Remove the given key and its associated value from the cache, if it exists. If the key is not in the cache, do nothing.
cache key