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

Method loadCount

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

* Returns the total number of load operations (successful + failed). * * @returns Total number of load operations

()

Source from the content-addressed store, hash-verified

132 * @returns Total number of load operations
133 */
134 loadCount(): number {
135 return this.loadSuccessCount + this.loadFailureCount;
136 }
137
138 /**
139 * Returns the ratio of cache loading attempts that failed.

Callers 3

loadFailureRateMethod · 0.95
averageLoadPenaltyMethod · 0.95
cache.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected