Interface for cache implementations.
Defines the contract for caching key-value pairs with thread-safe operations.
Clear all entries from the cache.
Check if a key exists in the cache.
Get a value from the cache.
Get a value or compute and cache it if missing.
Check if cache is empty
Get all keys in the cache.
Store a value in the cache.
Remove a value from the cache.
Get the number of cached entries.
Get all values in the cache.