class TVecIntCache : public TAbstractMtxVecCache;
Implementation of object cache for TVecInt objects.
Constructors
| Name | Description |
|---|---|
| TVecIntCache |
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 | |
| GetCacheInBytes | |
| 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 | |
| Int16CacheOffset | DewArray<int> | |
| Int16CachePointers | DewArray<DewArray<short>> | |
| Int32Cache | DewArray<int> | |
| Int32CacheOffset | DewArray<int> | |
| Int32CachePointers | DewArray<DewArray<int>> | |
| Int8CacheOffset | DewArray<int> | |
| Int8CachePointers | DewArray<DewArray<unsigned char>> | |
| PoolIndex | int | |
| ThreadID | long long |