* Get cache statistics for monitoring
()
| 148 | * Get cache statistics for monitoring |
| 149 | */ |
| 150 | getStats(): { |
| 151 | size: number; |
| 152 | maxSize: number; |
| 153 | cleanupInterval: number | null; |
| 154 | } { |
| 155 | return { |
| 156 | size: this.cache.size, |
| 157 | maxSize: this.MAX_CACHE_ENTRIES, |
| 158 | cleanupInterval: this.cleanupInterval, |
| 159 | }; |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Cleanup resources when shutting down |
no outgoing calls
no test coverage detected