Skip to content

ProofCacheStats

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / ProofCacheStats

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2852

Proof cache statistics (Named ProofCacheStats to avoid conflict with composer CacheStats)

readonly totalLookups: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2854

Total number of lookups


readonly hits: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2856

Number of cache hits


readonly misses: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2858

Number of cache misses


readonly hitRate: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2860

Hit rate (0-1)


readonly entryCount: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2862

Current number of entries


readonly sizeBytes: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2864

Current size in bytes


readonly maxSizeBytes: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2866

Maximum size in bytes


readonly evictions: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2868

Number of evictions


readonly expirations: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2870

Number of expirations


readonly avgLookupTimeMs: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2872

Average lookup time in milliseconds


readonly avgEntryAgeMs: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2874

Average entry age in milliseconds