Constructor LRUCacheAllocationStrategy
LRUCacheAllocationStrategy(Int32, Int32, Int32, Int32)
Create a new LRUAllocationStrategy objct.
Declaration
public LRUCacheAllocationStrategy(int poolMaxSize, int poolCapacity, int poolCacheMaxSize, int initialPoolCacheCapacity)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | poolMaxSize | The max size of each pool. |
| Int32 | poolCapacity | The initial capacity to create each pool list with. |
| Int32 | poolCacheMaxSize | The max size of the internal pool cache. |
| Int32 | initialPoolCacheCapacity | The initial number of pools to create. |