Abstract
Invalidate the cache for objects cached by constructCacheKey(loadParams).
load params to invalidate
Read-through cache function.
array of loadParams to load from the cache
closure used to provide underlying data source objects for loadParams
map from loadParams to the entity field object
A custom secondary read-through entity cache is a way to add a custom second layer of caching for a particular single entity load. One common way this may be used is to add a second layer of caching in a hot path that makes a call to EntityLoader.loadManyByFieldEqualityConjunctionAsync is guaranteed to return at most one entity.