Removes all entries from this cache.
Resolves when this cache has been cleared.
Removes the value associated with the specified key.
The cache key.
Resolves when the value has been removed.
Gets the value associated with the specified key.
The cache key.
The cached value, or null
if the key does not exist.
Gets a value indicating whether this cache contains the specified key.
The cache key.
true
if this cache contains the specified key, otherwise false
.
Associates a given value with the specified key.
Represents a cache.