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

Method recordLoadSuccess

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

* Records the successful load of a new entry. This method should be called when a cache request * causes an entry to be loaded and the loading completes successfully. * * @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

231 * @param loadTime - The number of milliseconds the cache spent computing or retrieving the new value
232 */
233 recordLoadSuccess(loadTime: number): void;
234
235 /**
236 * Records the failed load of a new entry. This method should be called when a cache request

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