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

Function disabledStatsCounter

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

* Returns a StatsCounter that does not record any cache events. * * @return A StatsCounter that does not record metrics

()

Source from the content-addressed store, hash-verified

280 * @return A StatsCounter that does not record metrics
281 */
282function disabledStatsCounter(): StatsCounter {
283 return DisabledStatsCounter.INSTANCE;
284}
285
286/**
287 * A StatsCounter implementation that maintains cache statistics.

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected