Retrieve a value from the cache for the given type
result as a future of Option[T]
Retrieve a value from the cache, or set it from a default function.
expiration period in seconds.
The default function to invoke if the value was not found in cache.
Remove a value from the cache
Removes all values from the cache.
a Future[Done], which is completed with either a Done or an exception if the clear did not work.
UnsupportedOperationException if this cache implementation does not support removing all values.
Set a value into the cache.
Get an instance of SyncCacheApi to make synchronous calls.