Add missing invalidate method to codeCache - complete all missing methods
This commit is contained in:
parent
30d01fc3bd
commit
38db624fd4
|
|
@ -171,6 +171,14 @@ class CodeCache {
|
|||
totalMemoryUsage,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 특정 카테고리의 캐시 무효화
|
||||
*/
|
||||
invalidate(category: string, companyCode?: string): boolean {
|
||||
const cacheKey = this.createCodeKey(category, companyCode);
|
||||
return this.delete(cacheKey);
|
||||
}
|
||||
}
|
||||
|
||||
// 싱글톤 인스턴스 생성
|
||||
|
|
|
|||
Loading…
Reference in New Issue