ChunkSize
Document management, Performance, Concurrency
Description
The size in bytes of the aligned chunks the stream fetches and caches
A cache miss fetches the whole chunk that contains the requested offset; only the last chunk of the source can be shorter
Syntax
Delphi
Property TByteRangeStream.ChunkSize: Integer;Remarks
Read-only; the value is fixed by the constructor, where a requested size below 4096 selects the 65536-byte default
The cache budget cannot be set below one chunk, and the read budget of a prefetch job must be at least one chunk
See also
TByteRangeStreamReadAt, TByteRangeStreamAvailability, StartRangeSourcePrefetch