getIfAvailable

open override fun getIfAvailable(key: K): V?

Returns the value corresponding to the given key, or null if such a key is not present in the cache.

This function does not wait for the creation of the value if it is in progress, returning null instead.

Note that this function neither returns nor removes the value if it is expired.