(cacheName: string, details: string, type: string)
| 55 | protected countersEnabled: boolean; |
| 56 | |
| 57 | protected constructor(cacheName: string, details: string, type: string) { |
| 58 | this.cacheName = cacheName; |
| 59 | this.details = details; |
| 60 | this.type = type; |
| 61 | this.gets = 0; |
| 62 | this.hits = 0; |
| 63 | this.puts = 0; |
| 64 | this.countersEnabled = true; |
| 65 | } |
| 66 | |
| 67 | stats(): CacheStats { |
| 68 | return {hits: this.hits, puts: this.puts, gets: this.gets}; |
nothing calls this directly
no outgoing calls
no test coverage detected