zibri
    Preparing search index...

    Class MultiTierCache<K, V, Tiers, CacheTag>Abstract

    Multi‑tier cache that composes multiple CacheInterface instances.

    Reads are cascaded through the tiers (fastest first). When a lower tier hits, all faster tiers are back‑filled. Writes are propagated to every tier via their setDirect method.

    The WriteResultAvailable flag must be supplied explicitly. If you want to mix a false tier (e.g. Write‑Around) into a true cache, simply cast it as CacheInterface<K, V, Tag, true> – the key is provided but the tier can safely ignore it.

    Type Parameters

    • K
    • V
    • Tiers extends readonly TierLike<K, V, CacheTag, any>[]
    • CacheTag extends string = string
    Index

    Constructors

    Properties

    name: string
    onInvalidationFailure?: OnInvalidationFailure

    Methods