Invalidate the cache for objects cached by (key, value).
load key to be invalidated
load values to be invalidated for key
Read-through cache function. Steps:
If cache is not applicable for key, return results from fetcher.
load key being queried
load values being queried
closure used to provide underlying data source objects for key and fetcherValues
map from value to objects that match the query for that value
A read-through entity cache is responsible for coordinating EntityDatabaseAdapter and EntityCacheAdapter within the EntityDataManager.