MCPcopy Create free account
hub / github.com/chhoumann/quickadd / getStats

Method getStats

src/utils/FieldSuggestionCache.ts:150–160  ·  view source on GitHub ↗

* Get cache statistics for monitoring

()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected