Constructors
Properties
ProtectedforceUpdateTimeout
forceUpdateTimeout: number
isDestroyed
isDestroyed: boolean = false
ProtectedmaxCacheSize
maxCacheSize: number = 30
Methods
delete
-
delete(key: string): boolean
getCacheStats
-
getCacheStats(): { newestEntry?: number; oldestEntry?: number; size: number }
Returns { newestEntry?: number; oldestEntry?: number; size: number }
ProtectedgetCacheTypeName
-
getCacheTypeName(): string
getCitationsForFile
-
getCitationsForFile(sourcePath: string): Promise<CitationRef[] | undefined>
getDataForFile
-
getDataForFile(sourcePath: string): Promise<CitationRef[] | undefined>
updateCache
-
updateCache(sourcePath: string): Promise<void>
Get statistcs about the cache