Setu-TS
    Preparing search index...

    Interface CacheDiagnosticsRecord

    Cumulative counters for one (source alias, operation) pair (M98i).

    Every settled backend call increments count and exactly one of succeeded (fulfilled) or failed (rejected, or threw synchronously). The detail counters increment only on a SUCCESSFUL call of their matching operation: hits/misses for get (non-null / null result), present/absent for has, removed/notRemoved for delete. set and clear carry only the outcome counters; every non-applicable counter is 0. Every counter saturates independently at Number.MAX_SAFE_INTEGER. No eviction count exists: a miss is never reported as an eviction. lastDurationMs is the integer duration, on the runtime's monotonic clock, of the most recently settled TIMED call — a source may time only a sample of calls (the built-in cache source times the first call per operation and one in every eight after it) — and is null when no call in the current retention window was timed. ageMs is the elapsed time since the most recent settled call, timed or not. Keys, prefixes, values, factory results and errors are never carried.

    0.8.0

    interface CacheDiagnosticsRecord {
        absent: number;
        ageMs: number;
        alias: string;
        count: number;
        failed: number;
        hits: number;
        lastDurationMs: number | null;
        misses: number;
        notRemoved: number;
        operation: CacheDiagnosticsOperation;
        present: number;
        removed: number;
        succeeded: number;
    }
    Index
    absent: number

    Successful has calls answering false.

    ageMs: number

    Monotonic ms since the last settled call.

    alias: string

    The configured source alias (always equal to the snapshot's alias).

    count: number

    Settled calls observed.

    failed: number

    Rejected (or synchronously throwing) calls.

    hits: number

    Successful get calls answering a non-null value.

    lastDurationMs: number | null

    Integer ms of the most recent timed call; null when none was timed.

    misses: number

    Successful get calls answering null.

    notRemoved: number

    Successful delete calls answering false.

    The backend operation these counters describe.

    present: number

    Successful has calls answering true.

    removed: number

    Successful delete calls answering true.

    succeeded: number

    Fulfilled calls.