CacheLimitBytes

Document management, Performance, Concurrency

Description

The current least-recently-used budget of the chunk cache, in bytes

The constructor default is 4 MiB, and the value is never smaller than ChunkSize

Syntax

Delphi

Property TByteRangeStream.CacheLimitBytes: Int64;

Remarks

Read-only; SetCacheLimitBytes changes the budget and evicts chunks immediately when the new value is smaller

The same value is reported in the GetCacheStats snapshot

See also

TByteRangeStreamReadAt, SetRangeSourceCacheLimit, GetRangeSourceCacheInfo