Skip to content

LRUCacheConfig

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / LRUCacheConfig

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

LRU cache configuration

readonly maxEntries: number

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

Maximum number of entries


readonly maxSizeBytes: number

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

Maximum total size in bytes


readonly defaultTtlMs: number

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

Default TTL in milliseconds (0 = no expiry)


readonly trackAccess: boolean

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

Enable entry access tracking


readonly evictionIntervalMs: number

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

Eviction check interval in milliseconds