[Overview][Resource strings][Types][Classes][Index] |
Event called when a slot is freed
Source position: cachecls.pp line 98
public property TCache.OnFreeSlot : TOnFreeSlot |
OnFreeSlot is called when an item needs to be freed, i.e. when a new item is added to a full list, and the least recent used item needs to be dropped from the list.
The cache class instance and the index of the item to be removed are passed to the callback.
|
Add a data element to the list. |
|
|
Add a new item to the list. |
|
|
Number of slots in the list |