public class TVecIntCache : TAbstractMtxVecCache
Implementation of object cache for TVecInt objects.
Properties
| Name | Type | Description |
|---|---|---|
| CacheElements | Int32 | Returns the number of precreated objects inside object cache. |
| CacheFull | Boolean | Returns true, if currently there are no free objects in cache. |
| CacheSize | Int32 | Returns the number of objects in the object cache. |
| CacheUsedCount | Int32 | Returns the number of currently used objects in the object cache. |
| CacheWasFull | Boolean | Returns true, if object cache was too small. |
| ConditionCheck | Boolean | Sets ConditionCheck for all items in the list. |
| MaxCount | Int32 | Read only property. Maximum number of objects used inside object cache. |
Methods
| Name | Description |
|---|---|
| ctor | |
| Enter | Call Enter to enable thread exclusive access. |
| Leave | Call Leave to end thread exclusive access. |
| 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. |
Constants
| Name | Type | Description |
|---|---|---|
| Int16CacheOffset | Int32[] | |
| Int16CachePointers | Int16[][] | |
| Int32Cache | Int32[] | |
| Int32CacheOffset | Int32[] | |
| Int32CachePointers | Int32[][] | |
| Int8CacheOffset | Int32[] | |
| Int8CachePointers | Byte[][] |