Skip to content

Commit 7f62e70

Browse files
committed
Allow accessing stats instance variables from subclasses
1 parent 4a85c8b commit 7f62e70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/caches/LRUDiskCache.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export type LRUData = Record<string, unknown> & { timeOfDeath: number }
1212
export class LRUDiskCache<V> implements CacheLayer<string, V>{
1313

1414
private lock: ReadWriteLock
15-
private disposed: number
16-
private hits = 0
17-
private total = 0
15+
protected disposed: number
16+
protected hits = 0
17+
protected total = 0
1818
private lruStorage: LRU<string, LRUData>
1919
private keyToBeDeleted: string
2020

0 commit comments

Comments
 (0)