THPDFCacheAdmissionPolicy Record

Describes the admission policy of one render cache layer: enablement, adaptive frequency mode, and entry, total-byte, and per-entry byte ceilings

Declaration

THPDFCacheAdmissionPolicy= record
  Enabled: boolean;
  AdaptiveAdmission: boolean;
  MaxEntries: Integer;
  MaxTotalBytes: Int64;
  MaxEntryBytes: Int64;
end;

Unit

HPDFDoc

Fields

FieldPurpose
EnabledTurns admission control on for the layer; an enabled policy must carry positive limits or validation raises ERangeError
AdaptiveAdmissionEnables frequency-based adaptive admission so rarely reused entries are refused instead of evicted later
MaxEntriesMaximum cached entries, validated from 0 to 1000000; for the raster layer it mirrors RenderCacheCapacity
MaxTotalBytesMaximum total cached bytes; for the decoded-image layer it mirrors ImageCacheMaxBytes
MaxEntryBytesMaximum size of a single cacheable item; must not exceed MaxTotalBytes, and the raw-compressed layer restricts it to 4096-16777216 bytes

Usage notes

Related APIs