()
| 69 | } |
| 70 | |
| 71 | statString(): string { |
| 72 | const pc = this.gets ? (100 * this.hits) / this.gets : 0; |
| 73 | const misses = this.gets - this.hits; |
| 74 | return `${this.puts} puts; ${this.gets} gets, ${this.hits} hits, ${misses} misses (${pc.toFixed(2)}%)`; |
| 75 | } |
| 76 | |
| 77 | report(): void { |
| 78 | logger.info(`${this.cacheName} ${this.details}: cache stats: ${this.statString()}`); |
nothing calls this directly
no outgoing calls
no test coverage detected