MCPcopy Index your code
hub / github.com/redis/node-redis / recordLoadFailure

Method recordLoadFailure

packages/client/lib/client/cache.ts:242–242  ·  view source on GitHub ↗

* Records the failed load of a new entry. This method should be called when a cache request * causes an entry to be loaded, but an exception is thrown while loading the entry. * * @param loadTime - The number of milliseconds the cache spent computing or retrieving the new value *

(loadTime: number)

Source from the content-addressed store, hash-verified

240 * prior to the failure
241 */
242 recordLoadFailure(loadTime: number): void;
243
244 /**
245 * Records the eviction of an entry from the cache. This should only be called when an entry is

Callers 1

handleCacheMethod · 0.65

Implementers 2

DisabledStatsCounterpackages/client/lib/client/cache.ts
DefaultStatsCounterpackages/client/lib/client/cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected