TMtxCache Class

public class TMtxCache : TAbstractMtxVecCache

Properties

NameTypeDescription
CacheElementsInt32Returns the number of precreated objects inside object cache.
CacheFullBooleanReturns true, if currently there are no free objects in cache.
CacheSizeInt32Returns the number of objects in the object cache.
CacheUsedCountInt32Returns the number of currently used objects in the object cache.
CacheWasFullBooleanReturns true, if object cache was too small.
ConditionCheckBooleanSets ConditionCheck for all items in the list.
MaxCountInt32Read only property. Maximum number of objects used inside object cache.

Methods

NameDescription
EnterCall Enter to enable thread exclusive access.
LeaveCall Leave to end thread exclusive access.
SetCacheSizeSets the cache object count to ItemCount and allocates Elements count of data elements per object.
TryEnterCall Enter to enable thread exclusive access.