Constructor.
The signature for the delegate to be used in a foreach loop:
Removes all items from the cache.
Checks whether an item exists in the cache.
Obtains the item that corresponds a key. Returns null if the key doesn't exist.
Returns the item with highest priority.
Returns the item with lowest priority.
Get an item with a given key if it already existed or creates a new item with the given priority if it didn't exist.
Retrieves an item's priority if it exists.
Updates the priority of an item if it already existed or creates a new item with the given priority if it didn't exist.
A notifier which is fired and an item is removed from the cache.
A foreach-iterator for iterating over the items in the tree.
A foreach-iterator for iterating over the items in the tree.
Removes an item from the cache.
Resets the statistics counter values.
Updates an existing item's priority.
Called by attemptCreateNode() when the cache is full and the new item to be added has a lower priority than the already existing lowest priority item. The method decides which of the two items should be stored.
A wrapper around the stored item
Resets the statistics counter values.
Stores a maximum number of items keeping only items with the highest priority.