Sign in Join
FPDoc Onlineexperiment

TCache.SlotCount property

Member of TCachepublicIn unit CacheCls

Number of slots in the list.

Declaration

pascal
property SlotCount: Integer read FSlotCount write SetSlotCount;

Description

SlotCount is the number of slots in the list. Its initial value is set when the TCache instance is created, but this can be changed at any time. If items are added to the list and the list is full, then the number of slots is not increased, but the least used item is dropped from the list. In that case OnFreeSlot is called.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.