AbstractProtected AbstractfetchLoad through method called to fetch objects when load params objects are not in the cache
array of load params objects to load
Invalidate the cache for objects cached by loadParams.
array of load params objects to invalidate
Load many by load params objects
array of loadParams to load through the cache
StaticgetHelper to get construction utils for instantiating a EntitySecondaryCacheLoader.
the entity class for which to get construction utils for
the viewer context to use for construction utils
query context to use for construction utils
construction utils for the given entity class and viewer context
A secondary cache loader allows for arbitrary cache keying for load params, which are a set of params used to load a single entity field object.
Note that this cache cannot be automatically invalidated like other entity caches so it must be manually invalidated when the underlying data of a cache key could be stale.
This is most commonly used to further optimize hot paths that cannot make use of normal entity cache loading due to use of a non-unique-field-based EntityLoader method like
loadManyByFieldEqualityConjunctionAsyncorloadManyByRawWhereClauseAsync.