Skip to content

Commit

Permalink
Allow accessing stats instance variables from subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
mairatma committed Nov 8, 2023
1 parent 4a85c8b commit 7f62e70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/caches/LRUDiskCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export type LRUData = Record<string, unknown> & { timeOfDeath: number }
export class LRUDiskCache<V> implements CacheLayer<string, V>{

private lock: ReadWriteLock
private disposed: number
private hits = 0
private total = 0
protected disposed: number
protected hits = 0
protected total = 0
private lruStorage: LRU<string, LRUData>
private keyToBeDeleted: string

Expand Down

0 comments on commit 7f62e70

Please sign in to comment.