getIfAvailable

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

Returns the value for key if it exists in the cache or null if it doesn't exist or its creation is still in progress.

Note that this function doesn't return the value if it is expired, but it doesn't remove it either.