Skip to main content
Version: 1.x

Interface: VocabularyServiceStats

Operational statistics for a running VocabularyService.

Example​

const stats: VocabularyServiceStats = {
loadedDomains: ['procurement', 'sales'],
totalTerms: 142,
cacheHits: 37,
cacheMisses: 5,
};

Properties​

cacheHits​

readonly cacheHits: number

Number of search cache hits since service creation.


cacheMisses​

readonly cacheMisses: number

Number of search cache misses since service creation.


loadedDomains​

readonly loadedDomains: SAPDomain[]

Domains that have been loaded into memory.


totalTerms​

readonly totalTerms: number

Total number of vocabulary terms across all loaded domains.