Global

Members

Discard

When the maximum capacity is reached, new items added to the queue will be silently discarded.
Source:

(constant) EvictionPolicy

This enumeration holds supported eviction policies by some of collections.
Source:

FIFO

The underlying collection evicts the items inserted first (like a queue).
Source:

Ignore

Ignore the policy, and keep on enqueueing items, regardless of whether the maximum capacity is reached or not.
Source:

LFU

The underlying collection evicts the least frequently used elements first.
Source:

LIFO

The underlying collection evicts the items inserted last (like a stack).
Source:

LRU

The underlying collection evicts the least recently used elements first.
Source:

MFU

The underlying collection evicts the most frequently used elements first.
Source:

MRU

The underlying collection evicts the most recently used elements first.
Source:

None

Do not evict. Requires manually freeing space in the underlying collection.
Source:

Random

The underlying collection evicts the items inserted in a random order.
Source:

ThrowError

When enqueueing new items and the maximum capacity is already reached, an Error is thrown.
Source:

Undetermined

The underlying collection may evict elements indeterministically.
Source: