Entity

    Class GenericSecondaryEntityCache<TFields, TIDField, 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 extends Record<string, any>
    • TIDField extends keyof TFields
    • TLoadParams

    Hierarchy (View Summary, Expand)

    Implements

    Index

    Constructors

    Properties

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

    Methods

    MMNEPVFCICPMFPCPTTAAATR