class TAbstractMtxVecCache : public tObject;
Abstract class for object cache.
Constructors
| Name | Description |
|---|---|
| TAbstractMtxVecCache |
Destructors
| Name | Description |
|---|---|
| ~TAbstractMtxVecCache |
Properties
| Name | Type | Description |
|---|---|---|
| CacheElements | int | Returns the number of precreated objects inside object cache. |
| CacheFull | bool | Returns true, if currently there are no free objects in cache. |
| CacheInBytes | long long | |
| CacheSize | int | Returns the number of objects in the object cache. |
| CacheUsedCount | int | Returns the number of currently used objects in the object cache. |
| CacheWasFull | bool | Returns true, if object cache was too small. |
| ConditionCheck | bool | Sets ConditionCheck for all items in the list. |
| MaxCount | int | Read only property. Maximum number of objects used inside object cache. |
Methods
| Name | Description |
|---|---|
| CreateItx | |
| DebugReport | |
| Enter | Call Enter to enable thread exclusive access. |
| FreeIty | |
| Leave | Call Leave to end thread exclusive access. |
| LockedCreateItx | |
| LockedFreeIty | |
| SetCacheSize | Sets the cache object count to ItemCount and allocates Elements count of data elements per object. |
| TryEnter | Call Enter to enable thread exclusive access. |
Fields
| Name | Type | Description |
|---|---|---|
| csLock | unsigned char | |
| FMaxCount | int | |
| PoolIndex | int | |
| ThreadID | long long |