CacheEntryMetadata
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / CacheEntryMetadata
Interface: CacheEntryMetadata
Section titled “Interface: CacheEntryMetadata”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2747
Metadata about a cache entry
Properties
Section titled “Properties”createdAt
Section titled “createdAt”
readonlycreatedAt:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2749
When the entry was created
lastAccessedAt
Section titled “lastAccessedAt”lastAccessedAt:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2751
When the entry was last accessed
accessCount
Section titled “accessCount”accessCount:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2753
Number of times the entry has been accessed
sizeBytes
Section titled “sizeBytes”
readonlysizeBytes:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2755
Size of the entry in bytes
readonlyttlMs:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2757
Time-to-live in milliseconds (0 = no expiry)
expiresAt
Section titled “expiresAt”
readonlyexpiresAt:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2759
When the entry expires (0 = never)
source
Section titled “source”
readonlysource:"generation"|"warming"|"import"
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:2761
Source of the entry