TVecIntCache Class

Source: MtxVecInt.cs · Assembly: Dew.Math
TAbstractMtxVecCacheTVecIntCache

public class TVecIntCache : TAbstractMtxVecCache

Implementation of object cache for TVecInt objects.

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
ctor
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.

Constants

NameTypeDescription
Int16CacheOffsetInt32[]
Int16CachePointersInt16[][]
Int32CacheInt32[]
Int32CacheOffsetInt32[]
Int32CachePointersInt32[][]
Int8CacheOffsetInt32[]
Int8CachePointersByte[][]