Skip to main content
Version: 1.x

Interface: VocabularyServiceStats

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

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:147

Number of search cache hits since service creation.


cacheMisses

readonly cacheMisses: number

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

Number of search cache misses since service creation.


loadedDomains

readonly loadedDomains: SAPDomain[]

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

Domains that have been loaded into memory.


totalTerms

readonly totalTerms: number

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

Total number of vocabulary terms across all loaded domains.