Retrieve a value from the cache for the given type
Retrieve a value from the cache for the given type
Item key.
result as Option[T]
Retrieve a value from the cache, or set it from a default function.
Retrieve a value from the cache, or set it from a default function.
Item key.
expiration period in seconds.
The default function to invoke if the value was not found in cache.
Remove a value from the cache
Set a value into the cache.
Set a value into the cache.
Item key.
Item value.
Expiration time.
A cache API. This class is deprecated and will be removed in future versions.
(Since version 2.6.0) Use SyncCacheApi or AsyncCacheApi instead