put abstract method
Inserts or updates the value for the given key
in the cache.
Returns the previous value associated with the key
, or null
if there was none.
Inserting a new value may trigger eviction if the cache exceeds its maximum size.
Implementation
Future<V?> put(K key, V value);