Class GenericSecondaryEntityCache<TFields, TLoadParams>Abstract

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.

Type Parameters

  • TFields
  • TLoadParams

Implements

Constructors

Properties

constructCacheKey: (params: Readonly<TLoadParams>) => string

Methods

MMNEPVFCICPMFPCPTTAAATR