Skip to main content

Interface: VocabularyServiceStats

Defined in: src/vocabulary/types.ts:132

Operational statistics for a running VocabularyService.

Example​

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

Properties​

cacheHits​

readonly cacheHits: number

Defined in: src/vocabulary/types.ts:138

Number of search cache hits since service creation.


cacheMisses​

readonly cacheMisses: number

Defined in: src/vocabulary/types.ts:140

Number of search cache misses since service creation.


loadedDomains​

readonly loadedDomains: SAPDomain[]

Defined in: src/vocabulary/types.ts:134

Domains that have been loaded into memory.


totalTerms​

readonly totalTerms: number

Defined in: src/vocabulary/types.ts:136

Total number of vocabulary terms across all loaded domains.