Add missing invalidate method to codeCache - complete all missing methods

This commit is contained in:
hyeonsu 2025-09-18 20:14:56 +09:00
parent 30d01fc3bd
commit 38db624fd4
1 changed files with 8 additions and 0 deletions

View File

@ -171,6 +171,14 @@ class CodeCache {
totalMemoryUsage,
};
}
/**
*
*/
invalidate(category: string, companyCode?: string): boolean {
const cacheKey = this.createCodeKey(category, companyCode);
return this.delete(cacheKey);
}
}
// 싱글톤 인스턴스 생성