FIFOCachingPool Constructor |
First in, First out caching
Namespace:
Com.ForbiddenByte.OSA.Util.IO.Pools
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic FIFOCachingPool(
int capacity,
FIFOCachingPoolObjectDestroyer objectDestroyer = null
)
Parameters
- capacity
- Type: SystemInt32
- objectDestroyer (Optional)
- Type: Com.ForbiddenByte.OSA.Util.IO.PoolsFIFOCachingPoolObjectDestroyer
When an object is kicked out of the cache, this will be used to process its destruction,
in case special code needs to be executed. This is also called for each value when the cache is cleared usinc Clear
Version InformationOptimized ScrollView Adapter
Supported in: 4.3
See Also