Skip to content

Commit c037086

Browse files
committed
Allow accessing stats instance variables from subclasses
1 parent 053c31f commit c037086

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/caches/LRUDiskCache.ts

+3-3
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)