Retrieve a value from the cache.
Retrieve a value from the cache.
The type of the object to return.
Item key.
Remove a value from the cache.
Set a value into the cache.
Set a value into the cache.
Item key.
Item value.
Expiration time in seconds (0 second means eternity).
A trait which provides a mockable implementation for a cache.