Interface CreateOfflineRegionDiagnosticOptions

interface CreateOfflineRegionDiagnosticOptions {
    logicalQuotaBytes: number;
    now: Date;
    staleAfterMs: number;
    storage?: OfflineStorageBudgetV1;
}

Properties

logicalQuotaBytes: number

Logical payload-byte ceiling used to explain admission and eviction.

now: Date

Explicit clock input so persisted diagnostics are reproducible.

staleAfterMs: number

Age at which the snapshot observation becomes stale.

Optional storage-budget observation from probeOfflineStorageBudget(). Persisted state changes the eviction risk of every cached region, so it is reported here rather than inferred. The diagnostic never probes on its own.