MCPcopy
hub / github.com/redis/node-redis / recordHits

Method recordHits

packages/client/lib/client/cache.ts:506–508  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

504 }
505
506 recordHits(count: number): void {
507 this.#statsCounter.recordHits(count);
508 }
509
510 recordMisses(count: number): void {
511 this.#statsCounter.recordMisses(count);

Callers

nothing calls this directly

Calls 1

recordHitsMethod · 0.65

Tested by

no test coverage detected