@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
18 lines • 749 B
TypeScript
/**
* Collects hit/miss/eviction and sizing metrics for one or more named LRUCache
* instances. Each cache is collected independently; a failure on one does not
* prevent the others from being reported.
*/
import type { IMetricCollector, MetricEntry } from '../types.js';
import type { LRUCache } from '../../cache/LRUCache.js';
export declare class LRUCacheCollector implements IMetricCollector {
private readonly caches;
readonly name = "lru-cache";
readonly description = "Hit rate, eviction counts, size, and memory usage for registered LRU caches";
constructor(caches: Array<{
name: string;
instance: LRUCache<unknown>;
}>);
collect(): MetricEntry[];
}
//# sourceMappingURL=LRUCacheCollector.d.ts.map