Table of Contents

Enum CacheEvictionPolicy

Namespace
MoonBark.GridPlacement.Core.Interfaces
Assembly
MoonBark.GridPlacement.Core.dll

Cache eviction policies.

public enum CacheEvictionPolicy

Fields

FirstInFirstOut = 3

Remove items in the order they were added (FIFO).

LastInFirstOut = 4

Remove items in reverse order they were added (LIFO).

LeastFrequentlyUsed = 2

Remove least frequently used items first.

LeastRecentlyUsed = 1

Remove least recently used items first.

None = 0

No automatic eviction (cache can grow indefinitely).

Random = 5

Remove random items when cache is full.