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