Enum CacheEvictionPolicy
- Namespace
- MoonBark.GridPlacement.Core.Interfaces
- Assembly
- MoonBark.GridPlacement.Core.dll
Cache eviction policies.
public enum CacheEvictionPolicy
Fields
FirstInFirstOut = 3Remove items in the order they were added (FIFO).
LastInFirstOut = 4Remove items in reverse order they were added (LIFO).
LeastFrequentlyUsed = 2Remove least frequently used items first.
LeastRecentlyUsed = 1Remove least recently used items first.
None = 0No automatic eviction (cache can grow indefinitely).
Random = 5Remove random items when cache is full.