Skip to content

CacheEntryMetadata

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / CacheEntryMetadata

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

Metadata about a cache entry

readonly createdAt: number

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

When the entry was created


lastAccessedAt: number

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

When the entry was last accessed


accessCount: number

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

Number of times the entry has been accessed


readonly sizeBytes: number

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

Size of the entry in bytes


readonly ttlMs: number

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

Time-to-live in milliseconds (0 = no expiry)


readonly expiresAt: number

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

When the entry expires (0 = never)


readonly source: "generation" | "warming" | "import"

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

Source of the entry